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,9 +4,13 @@ haproxy.config:
|
|||
- source: salt://haproxy/templates/haproxy.jinja
|
||||
- template: jinja
|
||||
- user: root
|
||||
{% if salt['grains.get']('os_family') == 'FreeBSD' %}
|
||||
- group: wheel
|
||||
{% else %}
|
||||
- group: root
|
||||
{% endif %}
|
||||
- mode: 644
|
||||
- require_in:
|
||||
- service: haproxy.service
|
||||
- watch_in:
|
||||
- service: haproxy.service
|
||||
- service: haproxy.service
|
||||
|
|
Loading…
Reference in a new issue