Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
A node’s facts should be accessed in a template as instance variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Sanchez committed Mar 20, 2012
1 parent e0880d2 commit 56c8858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/activemq-init.d.erb
Expand Up @@ -31,12 +31,12 @@ APP_LONG_NAME="ActiveMQ Broker"
ACTIVEMQ_HOME="<%= home %>/activemq"

# Wrapper
<% if architecture == "x86_64" %>
<% if @architecture == "x86_64" %>
WRAPPER_CMD="/opt/activemq/bin/linux-x86-64/wrapper"
WRAPPER_CONF="/opt/activemq/bin/linux-x86-64/wrapper.conf"
<% end %>

<% if architecture == "i386" %>
<% if @architecture == "i386" %>
WRAPPER_CMD="/opt/activemq/bin/linux-x86-32/wrapper"
WRAPPER_CONF="/opt/activemq/bin/linux-x86-32/wrapper.conf"
<% end %>
Expand Down

0 comments on commit 56c8858

Please sign in to comment.