Skip to content

Commit

Permalink
fix(exports): check if exports is mapping before iterating on it
Browse files Browse the repository at this point in the history
  • Loading branch information
sticky-note committed Jan 30, 2022
1 parent 9f3136c commit c2678d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nfs/files/exports
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}

0 comments on commit c2678d8

Please sign in to comment.