Updated group wheel when os_family is FreeBSD.

This commit is contained in:
abednarik 2016-06-07 16:06:56 -03:00
parent 52a4e1a0a2
commit 17c9373098

View file

@ -4,9 +4,13 @@ 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
- watch_in: - watch_in:
- service: haproxy.service - service: haproxy.service