0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 23:55:43 +01:00
users-formula/users/sudo.sls
2013-06-19 12:53:46 -07:00

23 lines
428 B
Plaintext

sudo:
group:
- present
- system: True
pkg:
- installed
- require:
- group: sudo
- file: /etc/sudoers.d
/etc/sudoers.d:
file:
- directory
sudoer-defaults:
file.append:
- name: /etc/sudoers
- require:
- pkg: sudo
- text:
- Defaults env_reset
- Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"