diff --git a/users/init.sls b/users/init.sls index 8f41527..3f50158 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 }}