Browse Source

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

master
Krzysztof Pawłowski 9 years ago
parent
commit
0d7b149fd5
2 changed files with 10 additions and 0 deletions
  1. +9
    -0
      apache/config.sls
  2. +1
    -0
      apache/map.jinja

+ 9
- 0
apache/config.sls View File

- 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 %}

+ 1
- 0
apache/map.jinja View File

'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',

Loading…
Cancel
Save