This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
salt
/
users-formula
forked from
ExternalMirrors/users-formula
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Add absent_groups pillar to remove groups.
lookup-fix-3
Diego Woitasen
10 years ago
parent
302a466c94
commit
0e76454a16
1 changed files
with
6 additions
and
0 deletions
Split View
Show Diff Stats
+6
-0
users/init.sls
+ 6
- 0
users/init.sls
View File
@@ -151,3 +151,9 @@ sudoer-{{ name }}:
file.absent:
- name: /etc/sudoers.d/{{ user }}
{% endfor %}
{% for group in pillar.get('absent_groups', []) %}
{{ group }}:
group.absent
{% endfor %}
Write
Preview
Loading…
Cancel
Save