Skip to content

Commit 4586aea

Browse files
committed
Merge pull request #53 from abednarik/abednarik_freebsd_suppoprt
Updated group wheel when os_family is FreeBSD.
2 parents 52a4e1a + 17c9373 commit 4586aea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

haproxy/config.sls

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ haproxy.config:
44
- source: salt://haproxy/templates/haproxy.jinja
55
- template: jinja
66
- user: root
7+
{% if salt['grains.get']('os_family') == 'FreeBSD' %}
8+
- group: wheel
9+
{% else %}
710
- group: root
11+
{% endif %}
812
- mode: 644
913
- require_in:
1014
- service: haproxy.service
1115
- watch_in:
12-
- service: haproxy.service
16+
- service: haproxy.service

0 commit comments

Comments
 (0)