1
0
Fork 0
mirror of synced 2024-11-21 16:35:33 -05:00

Merge pull request #28 from durchblicker/master

add sudoers file check with visudo
This commit is contained in:
puneet kandhari 2016-02-15 08:42:56 -06:00
commit f46d2ca228
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ include:
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers
- check_cmd: /usr/sbin/visudo -c -f
- context:
included: True
sudoers: {{ spec|json }}

View file

@ -11,6 +11,7 @@ sudo:
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers
- check_cmd: /usr/sbin/visudo -c -f
- context:
included: False
- require: