0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-03-24 04:37:15 +01:00

allow state to function without errors if no keys are find in pilar

This commit is contained in:
Brad Thurber 2016-05-02 09:13:38 -04:00
parent 8ed58c6528
commit d2df211011

View File

@ -1,6 +1,6 @@
{%- from "salt/map.jinja" import salt_settings with context %}
{%- set gitfs_keys=salt['pillar.get']('salt:gitfs:keys') %}
{%- set gitfs_keys=salt['pillar.get']('salt:gitfs:keys', {}) %}
{%- for key, keyvalues in gitfs_keys.items() %}
{%- for type, keydata in keyvalues.items() %}