2f70396a78
Change-Id: I7f146e0207ada58f0723b14d0a625a6bce67ea9f
12 lines
302 B
Text
12 lines
302 B
Text
{% from "prometheus/map.jinja" import alertmanager with context %}
|
|
{%- if alertmanager.enabled %}
|
|
|
|
{%- if pillar.docker.host is defined %}
|
|
|
|
{{alertmanager.dir.config}}/alertmanager.yml:
|
|
file.managed:
|
|
- source: salt://prometheus/files/alertmanager.yml
|
|
- template: jinja
|
|
|
|
{%- endif %}
|
|
{%- endif %}
|