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:
Javier Bértoli 2017-12-06 10:45:11 -03:00 committed by GitHub
commit 9324564cdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: