Browse Source

Squashed commit of the following:

commit 11075072f476dd857d190d26cdb1091e2a8cb6f4
Merge: ca583a8 8e24b03
Author: Nick Chappell <nick@intronic.org>
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 <tom@penumbra.be>
Date:   Wed Jan 28 14:28:10 2015 +0100

    Fix undefined script variable error
Nick Chappell 9 years ago
parent
commit
221db2b331
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/object_apply_service_to_host.conf.erb

+ 1 - 1
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 %>