commit | dca73f1c808ca0b7c152fb9e198ab452fb807591 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Tue May 09 10:53:40 2017 +0200 |
committer | GitHub <noreply@github.com> | Tue May 09 10:53:40 2017 +0200 |
tree | 47657b87abaa2ddc6ace54248081442dddbceea3 | |
parent | 1c100e3a1a1f5ef5235ffff28237588405a9aa66 [diff] | |
parent | f39cb118d1e1144eeaf0cdccca8f999db63ada25 [diff] |
Merge pull request #94 from slimakcz/patch-1 remove sudo files for user
diff --git a/linux/system/user.sls b/linux/system/user.sls index 997f6fa..70c9c51 100644 --- a/linux/system/user.sls +++ b/linux/system/user.sls
@@ -50,6 +50,11 @@ - user: system_user_{{ name }} - check_cmd: /usr/sbin/visudo -c -f +{%- else %} + +/etc/sudoers.d/90-salt-user-{{ name|replace('.', '-') }}: + file.absent + {%- endif %} {%- else %}