瀏覽代碼

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 年之前
父節點
當前提交
560f5e10d9
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      users/sudo.sls

+ 2
- 2
users/sudo.sls 查看文件

@@ -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…
取消
儲存