formula-prometheus/prometheus/init.sls
Filip Pytloun d92d2d7ce8 Use salt support to generate grains
Change-Id: I7cc5f00608127e0bf4df5bbd58db4cae9816a402
2017-05-09 10:23:12 +02:00

10 lines
302 B
Text

{%- if pillar.prometheus.server is defined or
pillar.prometheus.alertmanager is defined %}
include:
{%- if pillar.prometheus.server is defined %}
- prometheus.server
{%- endif %}
{%- if pillar.prometheus.alertmanager is defined %}
- prometheus.alertmanager
{%- endif %}
{%- endif %}