mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 02:57:55 +01:00
Merge pull request #2 from duk3luk3/master
Fix requisites for user state
This commit is contained in:
commit
395399f6e1
@ -39,12 +39,12 @@ include:
|
|||||||
- groups:
|
- groups:
|
||||||
- {{ name }}
|
- {{ name }}
|
||||||
{% for group in user.get('groups', []) %}
|
{% for group in user.get('groups', []) %}
|
||||||
- {{ group }}_group
|
- {{ group }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
- require:
|
- require:
|
||||||
- group: {{ name }}_user
|
- group: {{ name }}
|
||||||
{% for group in user.get('groups', []) %}
|
{% for group in user.get('groups', []) %}
|
||||||
- group: {{ group }}_group
|
- group: {{ group }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
user_keydir_{{ name }}:
|
user_keydir_{{ name }}:
|
||||||
|
Loading…
Reference in New Issue
Block a user