mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-10 14:51:47 +00:00
fix(exports): check if exports is mapping
before iterating on it
This commit is contained in:
parent
9f3136cf20
commit
c2678d87fa
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