@@ -19,7 +19,7 @@ apache-config-modules-cgi-cmd-run: | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- makedirs: True | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -47,7 +47,7 @@ apache-config-modules-perl-pkg: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -42,7 +42,7 @@ apache-config-modules-php5-pkg: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- watch_in: | |||
- module: apache-service-running-restart | |||
- require_in: | |||
@@ -63,7 +63,7 @@ apache-config-modules-php5-pkg: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -36,7 +36,7 @@ apache-config-modules-proxy-file-managed: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -38,7 +38,7 @@ apache-config-modules-proxy_http-file-managed: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -36,7 +36,7 @@ apache-config-modules-rewrite-file-managed-conf: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -20,7 +20,7 @@ apache-config-modules-suexec-file-managed: | |||
- makedirs: True | |||
- template: {{ apache.get('template_engine', 'jinja') }} | |||
- context: | |||
apache: {{ apache|json }} | |||
svcname: {{ apache.service.name }} | |||
- require: | |||
- pkg: apache-package-install-pkg-installed | |||
- watch_in: |
@@ -1,6 +1,6 @@ | |||
<IfModule !mpm_prefork_module> | |||
LoadModule cgid_module libexec/{{ apache.service.name }}/mod_cgid.so | |||
LoadModule cgid_module libexec/{{ svcname }}/mod_cgid.so | |||
</IfModule> | |||
<IfModule mpm_prefork_module> | |||
LoadModule cgi_module libexec/{{ apache.service.name }}/mod_cgi.so | |||
LoadModule cgi_module libexec/{{ svcname }}/mod_cgi.so | |||
</IfModule> |
@@ -1 +1 @@ | |||
LoadModule perl_module libexec/{{ apache.service.name }}/mod_perl.so | |||
LoadModule perl_module libexec/{{ svcname }}/mod_perl.so |
@@ -1,4 +1,4 @@ | |||
LoadModule php5_module /usr/local/libexec/{{ apache.service.name }}/libphp5.so | |||
LoadModule php5_module /usr/local/libexec/{{ svcname }}/libphp5.so | |||
DirectoryIndex index.html index.php | |||
@@ -1 +1 @@ | |||
LoadModule proxy_module libexec/{{ apache.service.name }}/mod_proxy.so | |||
LoadModule proxy_module libexec/{{ svcname }}/mod_proxy.so |
@@ -1 +1 @@ | |||
LoadModule proxy_http_module libexec/{{ apache.service.name }}/mod_proxy_http.so | |||
LoadModule proxy_http_module libexec/{{ svcname }}/mod_proxy_http.so |
@@ -1 +1 @@ | |||
LoadModule rewrite_module libexec/{{ apache.service.name }}/mod_rewrite.so | |||
LoadModule rewrite_module libexec/{{ svcname }}/mod_rewrite.so |
@@ -1 +1 @@ | |||
LoadModule suexec_module libexec/{{ apache.service.name }}/mod_suexec.so | |||
LoadModule suexec_module libexec/{{ svcname }}/mod_suexec.so |