Fix dict iteration in jinja

This commit is contained in:
Rashit Azizbaev 2015-02-11 15:15:22 +03:00
parent f2692fd14c
commit 01e7f8cd27

View file

@ -1,3 +1,3 @@
{% for export in salt['pillar.get']('nfs:server:exports') %}
{{ export }}
{% for dir, opts in salt['pillar.get']('nfs:server:exports').iteritems() %}
{{ dir }} {{ opts }}
{% endfor %}