diff --git a/apache/config.sls b/apache/config.sls index b75d97d..f4faa20 100644 --- a/apache/config.sls +++ b/apache/config.sls @@ -24,3 +24,12 @@ include: - watch_in: - service: apache {% endif %} + +{% if grains['os_family']=="RedHat" %} +/etc/httpd/conf.d/welcome.conf: + file.absent: + - require: + - pkg: apache + - watch_in: + - service: apache +{% endif %} diff --git a/apache/map.jinja b/apache/map.jinja index 3c2f598..8f358d9 100644 --- a/apache/map.jinja +++ b/apache/map.jinja @@ -23,6 +23,7 @@ 'configfile': '/etc/httpd/conf/httpd.conf', 'mod_wsgi': 'mod_wsgi', + 'mod_php5': 'php', 'vhostdir': '/etc/httpd/conf.d', 'confdir': '/etc/httpd/conf.d',