Browse Source

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 }}
```
tags/v0.48.1
Imran Iqbal 5 years ago
parent
commit
560f5e10d9
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      users/sudo.sls

+ 2
- 2
users/sudo.sls View File

pkg.installed: pkg.installed:
- name: {{ users.sudo_package }} - name: {{ users.sudo_package }}
- require: - require:
- file: {{ users.sudoers_dir }}
- file: {{ users.sudoers_dir }}
- unless: test "`uname`" = "Darwin" - unless: test "`uname`" = "Darwin"


users_{{ users.sudoers_dir }}: users_{{ users.sudoers_dir }}:


users_sudoer-defaults: users_sudoer-defaults:
file.append: file.append:
- name: {{ users.sudoers_file }}
- name: {{ users.sudoers_file }}
- require: - require:
- pkg: users_sudo-package - pkg: users_sudo-package
- text: - text:

Loading…
Cancel
Save