0
@@ -2,9 +2,9 @@ def create_spec_list(options)
0
result.concat("/p/bin/xlew ") if options[:xlew]
0
- result.concat("ruby -I/p/libexec/id2 #{ID2_ROOT + "/rlibs/pontoon.rb "}")
0
- raise "You must specify an id2 file to join the id2 cluster!" unless options[:id2file]
0
- result.concat(options[:id2file] + " ")
0
+ result.concat("ruby -I/p/libexec/fuzed #{FUZED_ROOT + "/rlibs/pontoon.rb "}")
0
+ raise "You must specify an fuzed file to join the fuzed cluster!" unless options[:fuzedfile]
0
+ result.concat(options[:fuzedfile] + " ")
0
result.concat(%{#{options[:remote_ruby] || DEFAULT_REMOTE_RUBY} })
0
result.concat(%{--tags="#{options[:tags]}" }) if options[:tags]
0
OptionParser.new do |opts|
0
- opts.banner = "Usage:
id2 command [options]"
0
+ opts.banner = "Usage:
fuzed command [options]"
0
opts.on("-z HOSTNAME", "--magic HOSTNAME", "Set smart details based off of a hostname") do |n|
0
options[:master_name] = "master@#{n}"
0
@@ -34,15 +34,15 @@ OptionParser.new do |opts|
0
- opts.on("-f ID2FILE", "--id2file FILENAME", "ID2 spec file to use to serve nodes") do |n|
0
+ opts.on("-f FUZEDFILE", "--fuzedfile FILENAME", "FUZED spec file to use to serve nodes") do |n|
0
+ options[:fuzedfile] = n
0
opts.on("-m NAME", "--master NAME", "Master node name") do |n|
0
options[:master_name] = n
0
- opts.on("-s", "--spec SPECSTRING", "||-separated list of arguments to apply to your
ID2 node") do |n|
0
+ opts.on("-s", "--spec SPECSTRING", "||-separated list of arguments to apply to your
FUZED node") do |n|
0
@@ -90,7 +90,7 @@ master = options[:master_name] || DEFAULT_MASTER_NODE
0
nodename = options[:name] || DEFAULT_NODE_NAME
0
- abort "Please specify fully qualified master node name e.g. -m master@
id2.tools.powerset.com"
0
+ abort "Please specify fully qualified master node name e.g. -m master@
fuzed.tools.powerset.com"
0
spec = %{[} + create_spec_list(options).map {|x| %{"#{x}"}}.join(",") + %{]}
0
@@ -119,11 +119,11 @@ cmd = %Q{erl -boot start_sasl \
0
-setcookie #{cookie_hash(master)} \
0
- -id2_node master "'#{master}'" \
0
- -id2_node spec '#{spec}' \
0
- -id2_node num_nodes #{num_nodes} \
0
+ -fuzed_node master "'#{master}'" \
0
+ -fuzed_node spec '#{spec}' \
0
+ -fuzed_node num_nodes #{num_nodes} \
0
- -config '#{ID2_ROOT}/conf/id2_base' \
0
- -run id2_node start}.squeeze(' ')
0
+ -config '#{FUZED_ROOT}/conf/fuzed_base' \
0
+ -run fuzed_node start}.squeeze(' ')