From d2df21101101a966412fcc68f892ef440424f79e Mon Sep 17 00:00:00 2001 From: Brad Thurber Date: Mon, 2 May 2016 09:13:38 -0400 Subject: [PATCH] allow state to function without errors if no keys are find in pilar --- salt/gitfs/keys.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/gitfs/keys.sls b/salt/gitfs/keys.sls index 338046b..3b002b8 100644 --- a/salt/gitfs/keys.sls +++ b/salt/gitfs/keys.sls @@ -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() %}