Commit 9b7b99d9 authored by Rafael Monnerat's avatar Rafael Monnerat

apache-frontend: Use buildout API instead complex jinja for expand an section.

parent 5c069cb9
...@@ -98,7 +98,7 @@ crl = {{ custom_ssl_directory }}/crl/ ...@@ -98,7 +98,7 @@ crl = {{ custom_ssl_directory }}/crl/
{% do slave_publish_dict.__setitem__('secure_access', 'https://%s' % slave_instance.get('custom_domain')) -%} {% do slave_publish_dict.__setitem__('secure_access', 'https://%s' % slave_instance.get('custom_domain')) -%}
{% endif -%} {% endif -%}
[slave-log-directory] [slave-log-directories]
{{slave_reference}}-log-folder = {{ slave_log_folder }} {{slave_reference}}-log-folder = {{ slave_log_folder }}
{# Set slave logrotate entry #} {# Set slave logrotate entry #}
...@@ -304,9 +304,6 @@ extra-context = ...@@ -304,9 +304,6 @@ extra-context =
[slave-log-directories] [slave-log-directories]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
{% for key, value in slave_log_dict.iteritems() -%}
{{ key }} = {{ value }}
{% endfor %}
{# Define log access #} {# Define log access #}
[apache-log-access] [apache-log-access]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment