Merge pull request #14 from babilen/fix-13
Define munin_node_specific_plugins default value
This commit is contained in:
commit
e9da468f8d
@ -14,7 +14,7 @@ include:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# Node specific plugins
|
# Node specific plugins
|
||||||
{% for hostname, plugin in salt['pillar.get']('munin_node_specific_plugins').items() %}
|
{% for hostname, plugin in salt['pillar.get']('munin_node_specific_plugins', {}).items() %}
|
||||||
{% if salt['pillar.get']('munin_node:host_name') == hostname %}
|
{% if salt['pillar.get']('munin_node:host_name') == hostname %}
|
||||||
{% for plugin_name, linked_file in plugin.items() %}
|
{% for plugin_name, linked_file in plugin.items() %}
|
||||||
/etc/munin/plugins/{{ plugin_name }}:
|
/etc/munin/plugins/{{ plugin_name }}:
|
||||||
|
Loading…
Reference in New Issue
Block a user