fix meta/salt with missing pillar
Change-Id: I43333c76bb3814d2c6b98849df109ef97523dc7e
This commit is contained in:
parent
eb97a444ed
commit
3d960a15b4
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
grain:
|
||||
{%- if pillar.prometheus is defined and pillar.prometheus.collector is defined %}
|
||||
{%- if pillar.get('prometheus', {}).get('collector') %}
|
||||
{%- from "prometheus/map.jinja" import server as prometheus_server with context %}
|
||||
prometheus:
|
||||
{%- set service_grains = {'prometheus': {'server': {'alert': {}, 'recording': {}, 'target': {}}}} %}
|
||||
|
|
Loading…
Reference in a new issue