Fix: wsgi.conf file not found
This commit is contained in:
parent
475fb8347e
commit
0b37a14035
@ -9,7 +9,7 @@ mod_wsgi:
|
|||||||
- require:
|
- require:
|
||||||
- pkg: apache
|
- pkg: apache
|
||||||
|
|
||||||
{% if grains.get('os_family') == 'RedHat' %}
|
{% if grains.get('os_family') == 'RedHat' and salt['file.file_exists']('/etc/httpd/conf.d/wsgi.conf') %}
|
||||||
/etc/httpd/conf.d/wsgi.conf:
|
/etc/httpd/conf.d/wsgi.conf:
|
||||||
file.uncomment:
|
file.uncomment:
|
||||||
- regex: LoadModule
|
- regex: LoadModule
|
||||||
|
Loading…
Reference in New Issue
Block a user