13 lines
302 B
Text
13 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 %}
|