Merge pull request #224 from bradthurber/allow-empty-gitfs-keys
allow gitfs.keys state to function without error when no keys
This commit is contained in:
commit
0a601fc310
@ -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…
Reference in New Issue
Block a user