0
0
mirror of https://github.com/saltstack-formulas/smokeping-formula.git synced 2025-01-31 22:25:26 +01:00
smokeping-formula/smokeping/files/Targets
2016-07-14 13:58:48 +02:00

21 lines
557 B
Plaintext

{%- from "smokeping/map.jinja" import smokeping with context -%}
{%- set targets = smokeping.targets -%}
*** Targets ***
probe = {{ smokeping.targets.probe }}
menu = Top
title = {{ smokeping.targets.title }}
remark = {{ salt['pillar.get']('smokeping:targets:remark', '') }}
alerts = {{ salt['pillar.get']('smokeping:targets:alerts', '') }}
{% for target, options in smokeping.targets.iteritems() -%}
{% if options is mapping() -%}
+ {{ target }}
{% for key, value in options.iteritems() -%}
{{ key }} = {{ value }}
{% endfor %}
{% endif %}
{% endfor %}