From 560f5e10d93079889c0611a391f7cbb974939a91 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 18:57:44 +0100 Subject: [PATCH] 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 }} ``` --- users/sudo.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/sudo.sls b/users/sudo.sls index e87acbb..6439173 100644 --- a/users/sudo.sls +++ b/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: