you need an empty line because jinja eats the carriage return and nagios configs cant handle } not being on a line by itself
This commit is contained in:
parent
35f1746c3f
commit
b0c7013f73
1 changed files with 1 additions and 0 deletions
|
@ -23,4 +23,5 @@ define hostgroup {
|
|||
hostgroup_name unbound
|
||||
alias External DNS
|
||||
members {% for host in groups["unbound"]|sort %}{{ host }}{% if not loop.last %}, {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue