Merge pull request #5 from ncapeyron/patch-1

avoid obligation to declare "extra" in munin_hosts
master
Jeff Geerling 2016-03-02 15:54:52 -06:00
commit 287bbcc4b5
1 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@
{% for host in munin_hosts %} {% for host in munin_hosts %}
[{{ host.name }}] [{{ host.name }}]
address {{ host.address }} address {{ host.address }}
{% if host.extra %} {% if host.extra is defined %}
{% for extra in host.extra %} {% for extra in host.extra %}
{{ extra }} {{ extra }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}