2b64974054
Change-Id: If539f26909bd56b168a806773bb9c6574c86bf40 Closes-bug: PROD-21073
12 lines
275 B
Text
12 lines
275 B
Text
{% from "prometheus/map.jinja" import pushgateway with context %}
|
|
{%- if pushgateway.enabled %}
|
|
|
|
{%- if pillar.docker is defined and pillar.docker.host is defined %}
|
|
|
|
{{pushgateway.dir.data}}:
|
|
file.directory:
|
|
- makedirs: True
|
|
- mode: 755
|
|
|
|
{%- endif %}
|
|
{%- endif %}
|