Merge pull request #176 from porunov/master
Clear uncomment state of mod_wsgi config
This commit is contained in:
commit
919f2a38d2
@ -54,6 +54,7 @@
|
|||||||
'configfile': '/etc/httpd/conf/httpd.conf',
|
'configfile': '/etc/httpd/conf/httpd.conf',
|
||||||
|
|
||||||
'mod_wsgi': 'mod_wsgi',
|
'mod_wsgi': 'mod_wsgi',
|
||||||
|
'conf_mod_wsgi': '/etc/httpd/conf.d/wsgi.conf',
|
||||||
'mod_php5': 'php',
|
'mod_php5': 'php',
|
||||||
'mod_pagespeed_source': 'https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm',
|
'mod_pagespeed_source': 'https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm',
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@ mod_wsgi:
|
|||||||
- require:
|
- require:
|
||||||
- pkg: apache
|
- pkg: apache
|
||||||
|
|
||||||
{% if grains.get('os_family') == 'RedHat' %}
|
{% if apache.conf_mod_wsgi %}
|
||||||
/etc/httpd/conf.d/wsgi.conf:
|
{{ apache.conf_mod_wsgi }}:
|
||||||
file.uncomment:
|
file.uncomment:
|
||||||
- regex: LoadModule
|
- regex: LoadModule
|
||||||
- onlyif: test -f /etc/httpd/conf.d/wsgi.conf
|
- onlyif: test -f {{ apache.conf_mod_wsgi }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: mod_wsgi
|
- pkg: mod_wsgi
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -10,6 +10,7 @@ CentOS Linux-6:
|
|||||||
version: '2.2'
|
version: '2.2'
|
||||||
CentOS Linux-7:
|
CentOS Linux-7:
|
||||||
version: '2.4'
|
version: '2.4'
|
||||||
|
conf_mod_wsgi: '/etc/httpd/conf.modules.d/10-wsgi.conf'
|
||||||
Oracle Linux Server-6:
|
Oracle Linux Server-6:
|
||||||
version: '2.2'
|
version: '2.2'
|
||||||
Oracle Linux Server-7:
|
Oracle Linux Server-7:
|
||||||
|
Loading…
Reference in New Issue
Block a user