瀏覽代碼

Fix requisites for user state

group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group.
tags/v0.45.0
J. Random Hacker 11 年之前
父節點
當前提交
7b7ee3f2f8
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      users/init.sls

+ 3
- 3
users/init.sls 查看文件

@@ -39,12 +39,12 @@ include:
- groups:
- {{ name }}
{% for group in user.get('groups', []) %}
- {{ group }}_group
- {{ group }}
{% endfor %}
- require:
- group: {{ name }}_user
- group: {{ name }}
{% for group in user.get('groups', []) %}
- group: {{ group }}_group
- group: {{ group }}
{% endfor %}

user_keydir_{{ name }}:

Loading…
取消
儲存