Sha256: f9e41304a35891b9d11843d8d3ef261423752f57f155000d5784cb500ed11b11
Contents?: true
Size: 846 Bytes
Versions: 8
Compression:
Stored size: 846 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} Configure a cloud instance EOS short_desc "Configure a cloud instance" opt :inst_num, "The number of the instance to run bootstrap on", :type => :int opt :generate_graph, "Generate the dependency tree graph", :type => :string, :default => nil run do |command| @loaded_clouds.each do |cld| if command[:generate_graph] vputs "Generating dependency graph at: #{command[:generate_graph]}" cld.output_resources_graph('png', command[:generate_graph], {"fontsize" => 30}) end cld.nodes.each do |node| node.configure!(:cloud => cld) end end end end
Version data entries
8 entries across 8 versions & 2 rubygems