diff --git a/salt/formulas.sls b/salt/formulas.sls index 55c31fe..b2461d8 100644 --- a/salt/formulas.sls +++ b/salt/formulas.sls @@ -4,7 +4,7 @@ {% from "salt/formulas.jinja" import formulas_git_opt with context %} # Loop over all formulas listed in pillar data -{% for env, entries in salt['pillar.get']('salt_formulas:list').iteritems() %} +{% for env, entries in salt['pillar.get']('salt_formulas:list', {}).iteritems() %} {% for entry in entries %} {% set basedir = formulas_git_opt(env, 'basedir') %}