1
0
Fork 0

fix meta/salt with missing pillar

Change-Id: I714a6ecfe3d4e3014d31bf4009dd3e6fc46bc86e
This commit is contained in:
Tomáš Kukrál 2017-05-11 22:12:31 +02:00 committed by Tomas Kukral
parent a5cfac85d3
commit 2127f4e493
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{%- if pillar.grafana.collector is defined %}
{%- if pillar.get('grafana', {}).get('collector') %}
{%- if pillar.grafana.collector.get('enabled', False) %}
{%- set service_grains = {} %}
{%- for service_name, service in pillar.iteritems() %}