Sha256: 3a9479377ab8ace09870444cc1f8cb43d561e545d15d72914f4306638b41d9cc
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "poolparty" require "poolpartycl" available_monitors = PoolParty::Monitors.available_monitors o = PoolParty::Optioner.new(ARGV) do |opts, optioner| opts.on('-n name', '--name name', 'Host name') { |h| optioner.hostname h } end load_pool(o.spec || Binary.get_existing_spec_location) include Remote @clouds = o.cloudname ? [cloud(o.cloudname.downcase.to_sym)] : clouds @clouds.each do |name, cloud| with_cloud(cloud, {:testing => o.testing }) do boot_file = "#{Messenger.append_dir}/pm_master_rel-0.1" command = Messenger.erl_command("master", "-boot #{boot_file} #{noshell ? "" : "-detached -heart"}") Kernel.system command end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
auser-poolparty-0.2.20 | bin/server-start-master |
auser-poolparty-0.2.21 | bin/server-start-master |
auser-poolparty-0.2.22 | bin/server-start-master |