Browse Source

Merge pull request #185 from aboe76/fix_groups_iteritems

fix iteritems
tags/v0.45.0
Niels Abspoel 6 years ago
parent
commit
28de757e9c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls View File

{% set used_googleauth = [] %} {% set used_googleauth = [] %}
{% set used_user_files = [] %} {% 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 }}: users_group_{{ setting.get('state', "present") }}_{{ group }}:
group.{{ setting.get('state', "present") }}: group.{{ setting.get('state', "present") }}:
- name: {{ group }} - name: {{ group }}

Loading…
Cancel
Save