Sha256: 58d1ba5ae25c52e247a60ce2c03d2b2d4e92fda8d599b044cc0cf83e58ef3574
Contents?: true
Size: 955 Bytes
Versions: 18
Compression:
Stored size: 955 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + "/../lib") require "poolparty" require 'git-style-binary/command' GitStyleBinary.command do banner <<-EOS Usage: #{$0} #{all_options_string} read the code EOS short_desc "various cloud development tasks" opt :inst_num, "The number of the instance to run bootstrap on", :type => :int opt :force, "Force rebootstrapping (useful for upgrading)", :default => false run do |command| @loaded_clouds.each do |cld| cld.nodes.each do |node| case command.argv.shift when "deploy_hermes" hermesdir = File.dirname(__FILE__) + "/../vendor/erlang/hermes" release = `#{hermesdir}/scripts/most_recent_release tar.gz`.strip node.scp(:source => release, :destination => "/var/poolparty/tmp") node.scp(:source => "#{hermesdir}/scripts/target_system", :destination => "/var/poolparty/tmp") end end end end end
Version data entries
18 entries across 18 versions & 3 rubygems