From f2a01a3fec738bf255344d3d30fb3cec68e4280f Mon Sep 17 00:00:00 2001 From: Georgy Kutsurua Date: Thu, 21 Dec 2017 16:39:17 +0400 Subject: [PATCH] fix permissions --- logstash/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash/init.sls b/logstash/init.sls index 4521947..f68d465 100644 --- a/logstash/init.sls +++ b/logstash/init.sls @@ -18,7 +18,7 @@ logstash-pkg: # the account. The group needs to be defined as 'adm' in the init script, # so we'll do a pattern replace. -{%- if salt['grains.get']('os', None) == "Ubuntu" %} +{%- if logstash.get('fix_permissions', True) and salt['grains.get']('os', None) == "Ubuntu" %} change service group in Ubuntu init script: file.replace: - name: /etc/init.d/logstash