Updated group wheel when os_family is FreeBSD.
This commit is contained in:
parent
52a4e1a0a2
commit
17c9373098
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@ haproxy.config:
|
||||||
- source: salt://haproxy/templates/haproxy.jinja
|
- source: salt://haproxy/templates/haproxy.jinja
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- user: root
|
- user: root
|
||||||
|
{% if salt['grains.get']('os_family') == 'FreeBSD' %}
|
||||||
|
- group: wheel
|
||||||
|
{% else %}
|
||||||
- group: root
|
- group: root
|
||||||
|
{% endif %}
|
||||||
- mode: 644
|
- mode: 644
|
||||||
- require_in:
|
- require_in:
|
||||||
- service: haproxy.service
|
- service: haproxy.service
|
||||||
|
|
Loading…
Reference in a new issue