Skip to content

Commit

Permalink
correction to EL init template for active binary and config dir argum…
Browse files Browse the repository at this point in the history
…ents to agent
  • Loading branch information
Paul Sullivan committed Feb 6, 2015
1 parent a7e98b5 commit ca7cdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/consul-init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

export GOMAXPROCS=${GOMAXPROCS}

CMD="<%= @consul_binary %> agent -config-dir <%= @config_dir %>"
CMD="<%= Chef::Consul.active_binary(node) %> agent -config-dir <%= node['consul']['config_dir'] %>"
NAME="consul"

PIDFILE="/var/run/$NAME.pid"
Expand Down

0 comments on commit ca7cdd8

Please sign in to comment.