Sha256: a1c4af4c62e8695e2df63804d70fbe21f271e1b21890e697ddd8b796fba496c5

Contents?: true

Size: 830 Bytes

Versions: 7

Compression:

Stored size: 830 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|
      ENV["POOLPARTY_NO_VALIDATION"] = "true"
      
      cld.compile
      
      if command[:generate_graph]
        vputs "Generating dependency graph at: #{command[:generate_graph]}"
        cld.output_resources_graph('png', command[:generate_graph], {"fontsize" => 30})
      end
      
    end
    
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
auser-poolparty-1.3.14 bin/cloud-compile
auser-poolparty-1.3.15 bin/cloud-compile
auser-poolparty-1.3.16 bin/cloud-compile
auser-poolparty-1.3.17 bin/cloud-compile
fairchild-poolparty-1.3.17 bin/cloud-compile
poolparty-1.3.15 bin/cloud-compile
poolparty-1.3.14 bin/cloud-compile