mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-17 10:10:31 +00:00
Merge pull request #41 from sticky-note/fix/exports
fix(exports): check if exports is `mapping` before iterating on it
This commit is contained in:
commit
0c2054c5bc
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
||||||
# Your changes will be overwritten.
|
# Your changes will be overwritten.
|
||||||
########################################################################
|
########################################################################
|
||||||
#
|
#
|
||||||
{% for dir, opts in salt['pillar.get']('nfs:server:exports').items() -%}
|
{% for dir, opts in salt['pillar.get']('nfs:server:exports', {}).items() -%}
|
||||||
{{ dir }} {{ opts }}
|
{{ dir }} {{ opts }}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|
Loading…
Add table
Reference in a new issue