Added additional groups for consul user
This commit is contained in:
parent
c35abbe387
commit
bae276589e
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ consul-user:
|
||||||
- name: {{ consul.user }}
|
- name: {{ consul.user }}
|
||||||
- groups:
|
- groups:
|
||||||
- {{ consul.group }}
|
- {{ consul.group }}
|
||||||
|
{% for groupname in consul.groups -%}
|
||||||
|
- {{ groupname }}
|
||||||
|
{%- endfor %}}
|
||||||
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
|
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
|
||||||
- createhome: False
|
- createhome: False
|
||||||
- system: True
|
- system: True
|
||||||
|
|
Loading…
Reference in a new issue