From 17c93730984c422b506d7e258eca71971781174a Mon Sep 17 00:00:00 2001 From: abednarik Date: Tue, 7 Jun 2016 16:06:56 -0300 Subject: [PATCH] Updated group wheel when os_family is FreeBSD. --- haproxy/config.sls | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/haproxy/config.sls b/haproxy/config.sls index 641e284..37f366f 100644 --- a/haproxy/config.sls +++ b/haproxy/config.sls @@ -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 \ No newline at end of file + - service: haproxy.service