diff --git a/templates/sensu.erb b/templates/sensu.erb index 54183bd934..7f4ce3de52 100644 --- a/templates/sensu.erb +++ b/templates/sensu.erb @@ -1,4 +1,4 @@ -EMBEDDED_RUBY=<%= @use_embedded_ruby %> -LOG_LEVEL=<%= @log_level %> -RUBYOPT="<%= @rubyopt %>" +EMBEDDED_RUBY=<%= scope.lookupvar("sensu::use_embedded_ruby") %> +LOG_LEVEL=<%= scope.lookupvar("sensu::log_level") %> +RUBYOPT="<%= scope.lookupvar("sensu::rubyopt") %>"