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 }}
|
||||
- groups:
|
||||
- {{ consul.group }}
|
||||
{% for groupname in consul.groups -%}
|
||||
- {{ groupname }}
|
||||
{%- endfor %}}
|
||||
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
|
||||
- createhome: False
|
||||
- system: True
|
||||
|
|
Loading…
Reference in a new issue