Browse Source

fix iteritems

master
Niels Abspoel 6 years ago
parent
commit
ed02fbc678
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

@@ -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…
Cancel
Save