From 221db2b331aeb25f76d04332fd8379c655e796ce Mon Sep 17 00:00:00 2001 From: Nick Chappell Date: Thu, 29 Jan 2015 21:46:02 -0800 Subject: [PATCH] Squashed commit of the following: commit 11075072f476dd857d190d26cdb1091e2a8cb6f4 Merge: ca583a8 8e24b03 Author: Nick Chappell Date: Thu Jan 29 21:20:21 2015 -0800 Merge branch 'fix_apply_service_to_host_period' of https://github.com/arioch/puppet-icinga2 into arioch-fix_apply_service_to_host_period commit 8e24b03958c50a36a8ceaab2ce89b8876d89f6ed Author: Tom De Vylder Date: Wed Jan 28 14:28:10 2015 +0100 Fix undefined script variable error --- templates/object_apply_service_to_host.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/object_apply_service_to_host.conf.erb b/templates/object_apply_service_to_host.conf.erb index e380810..4de9f85 100644 --- a/templates/object_apply_service_to_host.conf.erb +++ b/templates/object_apply_service_to_host.conf.erb @@ -43,7 +43,7 @@ apply Service "<%= @object_servicename %>" to Host { max_check_attempts = <%= @max_check_attempts %> <%- end -%> <%- if @check_period -%> - check_period = <%= @check_period %> + check_period = "<%= @check_period %>" <%- end -%> <%- if @check_interval -%> check_interval = <%= @check_interval %>