0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 02:57:55 +01:00

Merge pull request #127 from daks/master

fixing removing of users based on pillar['absent_users'], fix #126
This commit is contained in:
Wolodja Wentland 2016-08-10 18:12:38 +02:00 committed by GitHub
commit 95e61e1abe

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 }}