Merge pull request #193 from saltstack-formulas/susefix

workaround for #192
This commit is contained in:
Niels Abspoel 2017-08-24 21:44:11 +02:00 committed by GitHub
commit 1561224dfc
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ include:
- service: apache
{% endif %}
{% if grains['os_family']=="Suse" %}
{% if grains['os_family']=="Suse" or salt['grains.get']('os') == 'SUSE' %}
/etc/apache2/global.conf:
file.managed:
- template: jinja

View File

@ -46,7 +46,7 @@ a2enmod php5:
{% endif %}
{% if grains['os_family']=="Suse" %}
{% if grains['os_family']=="Suse" or salt['grains.get']('os') == 'SUSE' %}
/etc/sysconfig/apache2:
file.replace:
- unless: grep '^APACHE_MODULES=.*php5' /etc/sysconfig/apache2