2014-01-05 02:49:40 -05:00
|
|
|
{% set config = pillar.get('munin_node', {}) -%}
|
|
|
|
#
|
|
|
|
# This config file is managed by salt.
|
|
|
|
#
|
|
|
|
|
2015-11-17 08:15:21 -05:00
|
|
|
{%- for directive, value in config.items() %}
|
2014-01-05 03:17:53 -05:00
|
|
|
{%- if value is string or value is number %}
|
2014-01-05 04:10:45 -05:00
|
|
|
{{ directive }} {{ value }}
|
2014-01-05 02:49:40 -05:00
|
|
|
{%- else %}
|
|
|
|
{%- for item in value %}
|
2014-01-05 04:10:45 -05:00
|
|
|
{{ directive }} {{ item }}
|
2014-01-05 02:49:40 -05:00
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|