瀏覽代碼

fix empty formulas list in pillar with empty dic.

tags/v0.57.0
Niels Abspoel 9 年之前
父節點
當前提交
14c262fdad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      salt/formulas.sls

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

Loading…
取消
儲存