0
0
mirror of https://github.com/saltstack-formulas/smokeping-formula.git synced 2026-01-02 03:55:33 +01:00

Delete Targets

This commit is contained in:
jhelmich2 2019-09-02 14:25:58 +02:00 committed by GitHub
parent 9da65a2dfa
commit fc95efd2c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
Targets
View File

@ -1,20 +0,0 @@
{%- 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.items() -%}
{% if options is mapping() -%}
+ {{ target }}
{% for key, value in options.items() -%}
{{ key }} = {{ value }}
{% endfor %}
{% endif %}
{% endfor %}