allow state to function without errors if no keys are find in pilar
This commit is contained in:
parent
8ed58c6528
commit
d2df211011
@ -1,6 +1,6 @@
|
|||||||
{%- from "salt/map.jinja" import salt_settings with context %}
|
{%- 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 key, keyvalues in gitfs_keys.items() %}
|
||||||
{%- for type, keydata in keyvalues.items() %}
|
{%- for type, keydata in keyvalues.items() %}
|
||||||
|
Loading…
Reference in New Issue
Block a user