瀏覽代碼

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

master
Krzysztof Pawłowski 9 年之前
父節點
當前提交
0d7b149fd5
共有 2 個檔案被更改,包括 10 行新增0 行删除
  1. +9
    -0
      apache/config.sls
  2. +1
    -0
      apache/map.jinja

+ 9
- 0
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 %}

+ 1
- 0
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',

Loading…
取消
儲存