diff --git a/nfs/files/exports b/nfs/files/exports index 5516c90..95c8622 100644 --- a/nfs/files/exports +++ b/nfs/files/exports @@ -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 -%}