mirror of
https://github.com/saltstack-formulas/smokeping-formula.git
synced 2026-05-14 15:27:32 +02:00
Update Targets
This commit is contained in:
parent
fceaf2b2f6
commit
153b04e5f2
@ -8,11 +8,11 @@ title = {{ smokeping.targets.title }}
|
|||||||
remark = {{ salt['pillar.get']('smokeping:targets:remark', '') }}
|
remark = {{ salt['pillar.get']('smokeping:targets:remark', '') }}
|
||||||
alerts = {{ salt['pillar.get']('smokeping:targets:alerts', '') }}
|
alerts = {{ salt['pillar.get']('smokeping:targets:alerts', '') }}
|
||||||
|
|
||||||
{% for target, options in smokeping.targets.iteritems() -%}
|
{% for target, options in smokeping.targets.items() -%}
|
||||||
{% if options is mapping() -%}
|
{% if options is mapping() -%}
|
||||||
+ {{ target }}
|
+ {{ target }}
|
||||||
|
|
||||||
{% for key, value in options.iteritems() -%}
|
{% for key, value in options.items() -%}
|
||||||
{{ key }} = {{ value }}
|
{{ key }} = {{ value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user