mirror of
https://github.com/saltstack-formulas/smokeping-formula.git
synced 2026-01-02 08:15:32 +01: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', '') }}
|
||||
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() -%}
|
||||
+ {{ target }}
|
||||
|
||||
{% for key, value in options.iteritems() -%}
|
||||
{% for key, value in options.items() -%}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user