diff --git a/templates/hosts.conf.j2 b/templates/hosts.conf.j2 index abb4e8a..fc6e1eb 100644 --- a/templates/hosts.conf.j2 +++ b/templates/hosts.conf.j2 @@ -2,10 +2,10 @@ {% 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 %} {% endif %} -{% endfor %} \ No newline at end of file +{% endfor %}