1
0
Fork 0
mirror of synced 2024-11-22 08:55:35 -05:00

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

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) %} {%- if pillar.grafana.collector.get('enabled', False) %}
{%- set service_grains = {} %} {%- set service_grains = {} %}
{%- for service_name, service in pillar.iteritems() %} {%- for service_name, service in pillar.iteritems() %}