update grain check with Suse and SUSE

This commit is contained in:
Niels Abspoel 2017-08-03 21:11:25 +02:00
parent e5313af81a
commit 9003d2b3ce

View File

@ -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