Browse Source

icinga2: D'oh, Icinga2 wants boolean values in all lower case.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 years ago
parent
commit
90bb1c7272
1 changed files with 1 additions and 1 deletions
  1. 1 1
      icinga2/host.conf.tmpl

+ 1 - 1
icinga2/host.conf.tmpl

@@ -113,7 +113,7 @@ object Host "{{ node_id }}" {
 		"{{ service }}" = {
     {%- for entry, value in params.items ()|sort %}
       {%- if value is boolean %}
-			"{{ entry }}" = {{ value }},
+			"{{ entry }}" = {{ value|lower }},
       {%- else %}
 			"{{ entry }}" = "{{ value }}",
       {%- endif %}