#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "poolparty" require "poolpartycl" o = PoolParty::Optioner.new(ARGV) do |opts, optioner| opts.on('-n name', '--name name', 'Listing for cloud name') { |c| optioner.cloudname c } end o.loaded_clouds.each do |cloud| with_cloud(cloud) do vputs "Calling reconfigure_cloud!('force_reconfig') on #{master.ip}" reconfigure_cloud!("force_reconfig") end end