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
|
- module: apache-restart
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% elif grains['os_family']=="Suse" %}
|
{% elif salt['grains.get']('os_family') == 'Suse' or salt['grains.get']('os') == 'SUSE' %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- apache
|
- apache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user