avoid obligation to declare "extra" in munin_hosts
avoid obligation to declare "extra" param in munin_hosts list
allow this simple syntax :
munin_hosts:
- {
name: "localhost",
address: "127.0.0.1"
}
master
parent
6ba30a9f6c
commit
a9f2e76201
|
|
@ -2,7 +2,7 @@
|
|||
{% for host in munin_hosts %}
|
||||
[{{ host.name }}]
|
||||
address {{ host.address }}
|
||||
{% if host.extra %}
|
||||
{% if host.extra is defined %}
|
||||
{% for extra in host.extra %}
|
||||
{{ extra }}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue