workaround for #192tags/v0.37.4
- service: apache | - service: apache | ||||
{% endif %} | {% endif %} | ||||
{% if grains['os_family']=="Suse" %} | |||||
{% if grains['os_family']=="Suse" or salt['grains.get']('os') == 'SUSE' %} | |||||
/etc/apache2/global.conf: | /etc/apache2/global.conf: | ||||
file.managed: | file.managed: | ||||
- template: jinja | - template: jinja |
{% endif %} | {% endif %} | ||||
{% if grains['os_family']=="Suse" %} | |||||
{% if grains['os_family']=="Suse" or salt['grains.get']('os') == 'SUSE' %} | |||||
/etc/sysconfig/apache2: | /etc/sysconfig/apache2: | ||||
file.replace: | file.replace: | ||||
- unless: grep '^APACHE_MODULES=.*php5' /etc/sysconfig/apache2 | - unless: grep '^APACHE_MODULES=.*php5' /etc/sysconfig/apache2 |