change the config render method

This commit is contained in:
Lei Zhang 2014-08-01 10:08:40 +08:00
parent 44b9c5813c
commit 0ed3b6668b

View File

@ -1,9 +1,9 @@
{%- from "cinder/map.jinja" import cinder_config with context %}
{% from "cinder/map.jinja" import cinder_config with context -%}
# This file is managed by salt
{%- for section, section_values in cinder_config | dictsort(true) %}
{% for section, section_values in cinder_config | dictsort(true) %}
[{{ section }}]
{%- for key, value in section_values| dictsort(true) %}
{{ key }}={{ value }}
{{ key }} = {{ value }}
{%- endfor %}
{% endfor %}
{#- vim:ft=sls