Use correct pathname of visudo on FreeBSD

This commit is contained in:
Matthew X. Economou committed 2016-03-09 15:03:56 -05:00
1 parent f46d2ca228
commit 672cd20672
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ sudo:
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers
- check_cmd: /usr/sbin/visudo -c -f
- check_cmd: {{ sudoers.get('exec-prefix', '/usr/sbin') }}/visudo -c -f
- context:
included: False
- require: