0
0
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:
jhelmich2 2019-09-02 14:27:13 +02:00 committed by GitHub
parent fceaf2b2f6
commit 153b04e5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}