瀏覽代碼

Merge pull request #185 from aboe76/fix_groups_iteritems

fix iteritems
master
Niels Abspoel 6 年之前
父節點
當前提交
28de757e9c
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      users/init.sls

+ 1
- 1
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 }}

Loading…
取消
儲存