Skip to content

Commit

Permalink
fix(sudo.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```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 }}
```
  • Loading branch information
myii committed Oct 9, 2019
1 parent 4cec0ef commit 560f5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions users/sudo.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}:
Expand All @@ -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:
Expand Down

0 comments on commit 560f5e1

Please sign in to comment.