mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-27 22:38:34 +01:00
fix iteritems
This commit is contained in:
parent
7f9f3df6c7
commit
ed02fbc678
@ -4,7 +4,7 @@
|
||||
{% set used_googleauth = [] %}
|
||||
{% set used_user_files = [] %}
|
||||
|
||||
{% for group, setting in salt['pillar.get']('groups', {}).iteritems() %}
|
||||
{% for group, setting in salt['pillar.get']('groups', {}).items() %}
|
||||
users_group_{{ setting.get('state', "present") }}_{{ group }}:
|
||||
group.{{ setting.get('state', "present") }}:
|
||||
- name: {{ group }}
|
||||
|
Loading…
Reference in New Issue
Block a user