consul_nodes = search(:node, 'role:consul_whatever')if consul_nodesexecute "consul-join" docommand "consul join #{consul_nodes.first.ipaddress}"action :runendend
On Monday, July 14, 2014 at 11:38 AM, Justin Franks wrote:
Help....
execute "consul-join" do
command "consul join <IP address of some chef node name>"
action :run
end
*************************
Justin Franks
Lead Operations Engineer
SaaS, Cloud, Data Centers & Infrastructure
Lithium Technologies, Inc
225 Bush St., 15th Floor
San Francisco, CA 94104
tel: +1 415 757 3100 x3219
Archive powered by MHonArc 2.6.16.