0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-30 23:55:23 +01:00

Merge pull request #135 from aboe76/fix_empty_formula_pillar

fix empty formulas list in pillar with empty dic.
This commit is contained in:
Nitin Madhok 2015-05-17 15:14:17 -04:00
commit d16abf86b6

View File

@ -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') %}