Skip to content

Commit

Permalink
Merge pull request #224 from bradthurber/allow-empty-gitfs-keys
Browse files Browse the repository at this point in the history
allow gitfs.keys state to function without error when no keys
  • Loading branch information
gravyboat committed May 2, 2016
2 parents 8ed58c6 + d2df211 commit 0a601fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/gitfs/keys.sls
Original file line number Diff line number Diff line change
@@ -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() %}
Expand Down

0 comments on commit 0a601fc

Please sign in to comment.