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