2014-01-05 02:49:40 -05:00
|
|
|
{% set config = pillar.get('munin_node', {}) -%}
|
|
|
|
#
|
|
|
|
# This config file is managed by salt.
|
|
|
|
#
|
|
|
|
|
|
|
|
{%- for name, value in config.iteritems() %}
|
2014-01-05 03:17:53 -05:00
|
|
|
{%- if value is string or value is number %}
|
2014-01-05 02:49:40 -05:00
|
|
|
{{ name }} {{ value }}
|
|
|
|
{%- else %}
|
|
|
|
{%- for item in value %}
|
|
|
|
{{ name }} {{ item }}
|
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|