Merge pull request #53 from abednarik/abednarik_freebsd_suppoprt
Updated group wheel when os_family is FreeBSD.
This commit is contained in:
commit
4586aea25c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue