mirror of
https://github.com/saltstack-formulas/smokeping-formula.git
synced 2026-01-02 06:05:31 +01:00
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).
10 lines
240 B
Plaintext
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 %}
|