Add mod_php5 pkg for RedHat in map.jinja. Remove welcome.conf on RedHat.

This commit is contained in:
Krzysztof Pawłowski 2015-07-22 10:13:38 +02:00
parent 9d72208524
commit 0d7b149fd5
2 changed files with 10 additions and 0 deletions

View File

@ -24,3 +24,12 @@ include:
- watch_in: - watch_in:
- service: apache - service: apache
{% endif %} {% endif %}
{% if grains['os_family']=="RedHat" %}
/etc/httpd/conf.d/welcome.conf:
file.absent:
- require:
- pkg: apache
- watch_in:
- service: apache
{% endif %}

View File

@ -23,6 +23,7 @@
'configfile': '/etc/httpd/conf/httpd.conf', 'configfile': '/etc/httpd/conf/httpd.conf',
'mod_wsgi': 'mod_wsgi', 'mod_wsgi': 'mod_wsgi',
'mod_php5': 'php',
'vhostdir': '/etc/httpd/conf.d', 'vhostdir': '/etc/httpd/conf.d',
'confdir': '/etc/httpd/conf.d', 'confdir': '/etc/httpd/conf.d',