fix meta/salt with missing pillar
Change-Id: I714a6ecfe3d4e3014d31bf4009dd3e6fc46bc86e
This commit is contained in:
parent
a5cfac85d3
commit
2127f4e493
1 changed files with 1 additions and 1 deletions
|
@ -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() %}
|
||||||
|
|
Loading…
Reference in a new issue