0
0
mirror of https://github.com/saltstack-formulas/smokeping-formula.git synced 2026-01-02 06:05:31 +01:00
jhelmich2 872368f9c7
Add files via upload
Adjusted *.iteritems() to *.items() which will work for Python 3 aswell as Python 2 (since iteritems is outdated for python3 and breaks the salt-state).
2019-09-02 14:17:19 +02:00

10 lines
240 B
Plaintext

{%- from "smokeping/map.jinja" import smokeping with context -%}
*** Probes ***
{% for probe, settings in smokeping.probes.items() %}
+ {{ probe }}
{% for key, value in settings.items() %}
{{ key }} = {{ value }}
{% endfor %}
{% endfor %}