mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-10-02 20:50:50 +02:00
Remove dashes from variables.
Dashes causes some weird issues while rendering jinja templates.
This commit is contained in:
1 parent
93883cdcb6
commit
24e66ca8bf
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -4,14 +4,14 @@ sudo:
|
||||
pkg.installed:
|
||||
- name: {{ sudoers.pkg }}
|
||||
|
||||
{{ sudoers.get('config-path', '/etc') }}/sudoers:
|
||||
{{ sudoers.get('configpath', '/etc') }}/sudoers:
|
||||
file.managed:
|
||||
- user: root
|
||||
- group: {{ sudoers.get('group', 'root') }}
|
||||
- mode: 440
|
||||
- template: jinja
|
||||
- source: salt://sudoers/files/sudoers
|
||||
- check_cmd: {{ sudoers.get('exec-prefix', '/usr/sbin') }}/visudo -c -f
|
||||
- check_cmd: {{ sudoers.get('execprefix', '/usr/sbin') }}/visudo -c -f
|
||||
- context:
|
||||
included: False
|
||||
- require:
|
||||
|
||||
Reference in new issue
Block a user