Skip to content

Commit

Permalink
Use lookupvar to find variables in sensu:: namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki Nakamura committed Apr 23, 2014
1 parent c9e0f5c commit 857335a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/sensu.erb
Original file line number Diff line number Diff line change
@@ -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") %>"

0 comments on commit 857335a

Please sign in to comment.