Merge pull request #26 from vutny/set-datatadir-as-homedir
Set datata dir as home dir for new Consul user
This commit is contained in:
commit
9324564cdf
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ consul-user:
|
||||||
- name: {{ consul.user }}
|
- name: {{ consul.user }}
|
||||||
- groups:
|
- groups:
|
||||||
- {{ consul.group }}
|
- {{ consul.group }}
|
||||||
|
- home: {{ salt['user.info'](consul.user)['home']|default(consul.config.data_dir) }}
|
||||||
- createhome: False
|
- createhome: False
|
||||||
- system: True
|
- system: True
|
||||||
- require:
|
- require:
|
||||||
|
|
Loading…
Reference in a new issue