Sha256: 6002e79629a7664b5d0629f72ef8b27e9bbaec85961d726df4530d9e4eb9008b

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

# Class responsible for creating a new cloud infrastructure skeleton
class Kite::Cloud

  def initialize(core, cloud_name)
    @core = core
    @name = cloud_name
    @core.destination_root = nil
  end

  def name
    @name
  end

  def core
    @core
  end

  def prepare
    core.directory('skel', name)
    core.inside(name) do
      core.chmod('bin/kite', 0755)
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kite-0.2.0 lib/kite/cloud.rb
kite-0.1.0 lib/kite/cloud.rb
kite-0.0.9 lib/kite/cloud.rb
kite-0.0.8 lib/kite/cloud.rb
kite-0.0.7 lib/kite/cloud.rb