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

This commit is contained in:
Eric Veiras Galisson 2016-08-10 10:32:46 +02:00
parent 214f690af7
commit 57fce16643
1 changed files with 2 additions and 1 deletions

View File

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