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