fix(memory): pass variable not dict

This commit is contained in:
noelmcloughlin 2020-12-08 20:46:27 +00:00
parent 0e93df3e1e
commit 28300814fc
14 changed files with 16 additions and 16 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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>

View File

@ -1 +1 @@
LoadModule perl_module libexec/{{ apache.service.name }}/mod_perl.so
LoadModule perl_module libexec/{{ svcname }}/mod_perl.so

View File

@ -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

View File

@ -1 +1 @@
LoadModule proxy_module libexec/{{ apache.service.name }}/mod_proxy.so
LoadModule proxy_module libexec/{{ svcname }}/mod_proxy.so

View File

@ -1 +1 @@
LoadModule proxy_http_module libexec/{{ apache.service.name }}/mod_proxy_http.so
LoadModule proxy_http_module libexec/{{ svcname }}/mod_proxy_http.so

View File

@ -1 +1 @@
LoadModule rewrite_module libexec/{{ apache.service.name }}/mod_rewrite.so
LoadModule rewrite_module libexec/{{ svcname }}/mod_rewrite.so

View File

@ -1 +1 @@
LoadModule suexec_module libexec/{{ apache.service.name }}/mod_suexec.so
LoadModule suexec_module libexec/{{ svcname }}/mod_suexec.so