mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-10 14:51:47 +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.
|
||||
########################################################################
|
||||
#
|
||||
{% for dir, opts in salt['pillar.get']('nfs:server:exports').items() -%}
|
||||
{% for dir, opts in salt['pillar.get']('nfs:server:exports', {}).items() -%}
|
||||
{{ dir }} {{ opts }}
|
||||
{% endfor -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue