Browse Source

Merge pull request #135 from aboe76/fix_empty_formula_pillar

fix empty formulas list in pillar with empty dic.
tags/v0.57.0
Nitin Madhok 9 years ago
parent
commit
d16abf86b6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/formulas.sls

+ 1
- 1
salt/formulas.sls View File

{% from "salt/formulas.jinja" import formulas_git_opt with context %} {% from "salt/formulas.jinja" import formulas_git_opt with context %}


# Loop over all formulas listed in pillar data # 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 %} {% for entry in entries %}


{% set basedir = formulas_git_opt(env, 'basedir') %} {% set basedir = formulas_git_opt(env, 'basedir') %}

Loading…
Cancel
Save