Commit 53a1cc3a authored by mvivaldi's avatar mvivaldi

bugfix

parent 6021523a
......@@ -6,16 +6,15 @@
file.managed:
- contents: |
{% set config = pillar.get('sanoidconfig') %}
{% for dataset in config.dataset %}
[{{dataset.name}}]
{% for name, val in dataset.properties.items() %}
{{name}} = {{val}}
{% endfor %}
[{{dataset.name}}]
{% for name, val in dataset.properties.items() %}
{{name}} = {{val}}
{% endfor %}
{% endfor %}
{% for template in config.template %}
[template_{{template.name}}]
{% for name, val in template.properties.items() %}
{{name}} = {{val}}
{% endfor %}
[template_{{template.name}}]
{% for name, val in template.properties.items() %}
{{name}} = {{val}}
{% endfor %}
{% endfor %}
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