Browse Source

fixing removing of users based on pillar['absent_users'], fix #126

lookup-fix-3
Eric Veiras Galisson 8 years ago
parent
commit
57fce16643
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      users/init.sls

+ 2
- 1
users/init.sls View File

@@ -476,7 +476,8 @@ users_{{ users.sudoers_dir }}/{{ name }}:

{% for user in pillar.get('absent_users', []) %}
users_absent_user_2_{{ user }}:
user.absent
user.absent:
- name: {{ name }}
users_2_{{ users.sudoers_dir }}/{{ user }}:
file.absent:
- name: {{ users.sudoers_dir }}/{{ user }}

Loading…
Cancel
Save