Sha256: 46cae728962b31fe518b0f0fcf764492ff0f609752e1c9c432a76cbc2fb18a4b

Contents?: true

Size: 404 Bytes

Versions: 23

Compression:

Stored size: 404 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
    Git.init(name)
  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
kite-1.2.3 lib/kite/cloud.rb
kite-1.2.2 lib/kite/cloud.rb
kite-1.2.1 lib/kite/cloud.rb
kite-1.2.0 lib/kite/cloud.rb
kite-1.1.17 lib/kite/cloud.rb
kite-1.1.16 lib/kite/cloud.rb
kite-1.1.15 lib/kite/cloud.rb
kite-1.1.14 lib/kite/cloud.rb
kite-1.1.13 lib/kite/cloud.rb
kite-1.1.12 lib/kite/cloud.rb
kite-1.1.11 lib/kite/cloud.rb
kite-1.1.10 lib/kite/cloud.rb
kite-1.1.9 lib/kite/cloud.rb
kite-1.1.8 lib/kite/cloud.rb
kite-1.1.7 lib/kite/cloud.rb
kite-1.1.3 lib/kite/cloud.rb
kite-1.1.1 lib/kite/cloud.rb
kite-1.0.10 lib/kite/cloud.rb
kite-1.0.6 lib/kite/cloud.rb
kite-1.0.4 lib/kite/cloud.rb