Browse Source

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

tags/v0.57.0
Brad Thurber 8 years ago
parent
commit
d2df211011
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      salt/gitfs/keys.sls

+ 1
- 1
salt/gitfs/keys.sls 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() %}

Loading…
Cancel
Save