From 9003d2b3ceabab70273132e5fe6737720fc7ddce Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Thu, 3 Aug 2017 21:11:25 +0200 Subject: [PATCH] update grain check with Suse and SUSE --- apache/modules.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/modules.sls b/apache/modules.sls index 9e08ffa..adf88c0 100644 --- a/apache/modules.sls +++ b/apache/modules.sls @@ -52,7 +52,7 @@ find /etc/httpd/ -name '*.conf' -type f -exec sed -i -e 's/\(^\s*LoadModule.{{ m - module: apache-restart {% endfor %} -{% elif grains['os_family']=="Suse" %} +{% elif salt['grains.get']('os_family') == 'Suse' or salt['grains.get']('os') == 'SUSE' %} include: - apache