fix(sudo.sls): fix salt-lint
errors
```bash Examining users/sudo.sls of type state [201] Trailing whitespace users/sudo.sls:13 - file: {{ users.sudoers_dir }} [201] Trailing whitespace users/sudo.sls:22 - name: {{ users.sudoers_file }} ```
This commit is contained in:
parent
4cec0ef4cc
commit
560f5e10d9
@ -10,7 +10,7 @@ users_sudo-package:
|
||||
pkg.installed:
|
||||
- name: {{ users.sudo_package }}
|
||||
- require:
|
||||
- file: {{ users.sudoers_dir }}
|
||||
- file: {{ users.sudoers_dir }}
|
||||
- unless: test "`uname`" = "Darwin"
|
||||
|
||||
users_{{ users.sudoers_dir }}:
|
||||
@ -19,7 +19,7 @@ users_{{ users.sudoers_dir }}:
|
||||
|
||||
users_sudoer-defaults:
|
||||
file.append:
|
||||
- name: {{ users.sudoers_file }}
|
||||
- name: {{ users.sudoers_file }}
|
||||
- require:
|
||||
- pkg: users_sudo-package
|
||||
- text:
|
||||
|
Loading…
Reference in New Issue
Block a user