update grain check with Suse and SUSE
This commit is contained in:
parent
e5313af81a
commit
9003d2b3ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user