diff --git a/templates/object_host.conf.erb b/templates/object_host.conf.erb index b74f490..5d55493 100644 --- a/templates/object_host.conf.erb +++ b/templates/object_host.conf.erb @@ -53,9 +53,9 @@ object Host "<%= @object_hostname %>" { <%- end -%> <%- end -%> <%- if @check_command -%> - check_command = "<%= @max_check_attempts -%>" + check_command = "<%= @check_command -%>" <%- end -%> - <%- if @check_command -%> + <%- if @max_check_attempts -%> max_check_attempts = "<%= @max_check_attempts -%>" <%- end -%> }