formatting

This commit is contained in:
2019-03-30 20:29:50 -04:00
parent dc716f477c
commit c913a704d9

View File

@@ -11,7 +11,6 @@
{{key}} = {{defaults['global'][key]}} {{key}} = {{defaults['global'][key]}}
{% endif -%} {% endif -%}
{% endfor %} {% endfor %}
[security] [security]
INTERNAL_TOKEN = {{secrets['INTERNAL_TOKEN']}} INTERNAL_TOKEN = {{secrets['INTERNAL_TOKEN']}}
INSTALL_LOCK = true INSTALL_LOCK = true
@@ -28,9 +27,9 @@ PASSWD = `{{pillar_sections['database']['PASSWD']}}`
{% endif -%} {% endif -%}
{% for key in defaults['sections'][section] -%} {% for key in defaults['sections'][section] -%}
{% if section in pillar_sections and key in pillar_sections[section] -%} {% if section in pillar_sections and key in pillar_sections[section] -%}
{{key}} = {{pillar_sections[section][key]}} {{key.ljust(33)}} = {{pillar_sections[section][key]}}
{% else -%} {% else -%}
{{key}} = {{defaults['sections'][section][key]}} {{key.ljust(33)}} = {{defaults['sections'][section][key]}}
{% endif -%} {% endif -%}
{% endfor -%}
{% endfor %} {% endfor %}
{% endfor -%}