cloudstrap 0.30.11.pre → 0.30.12.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af78d0f9db12b433e2a8886976d388be204d880b
4
- data.tar.gz: 19666e8b0b9ce8ec5d8af47615673936039e135b
3
+ metadata.gz: abbe10d27d4f4e5bd183ba7556953ec02e5c3216
4
+ data.tar.gz: f9a76d71308b176b42115c3c4a06ac307ecad09a
5
5
  SHA512:
6
- metadata.gz: e4190fbba94980ac361156dbc2f33f158bf56502c9784b071ef6a422fcd71e9964ded94984c5f9a3bd9d9c0ff20945a39c7888cc26e7676e35ed4173471262c5
7
- data.tar.gz: 530b03724f25b4b169177eb3325fd1456056a513eae1a96ad791500ca3dc5312b88a48c37202a9a1c3522db1ca52c8f4d018942b4c2feaa47385d085da5c5dd0
6
+ metadata.gz: 3e35b8063403b05ce0e667b4cd740bad6e842910c9965c0d4fa08d231230ad39f4f7c7649a67b9389264cb97325fe39391a3d24662c14872d066d55afd646b0a
7
+ data.tar.gz: 7f7f2ba508fad6b7a43996fd92c104e703bb2dba7767d3ae8f71c3f80b3c2114e6c64c3b001396f7c919f94aa17b820ad5c176318eb56178d47398e6d208205d
data/README.org CHANGED
@@ -85,13 +85,13 @@ The output describes the results, and all settings used in the process.
85
85
  INFO Uploading /Users/colstrom/bootstrap.properties 100.0%
86
86
  INFO [e091db46] Running /usr/bin/env apt install --assume-yes genisoimage aria2 as ubuntu@54.89.237.123
87
87
  INFO [e091db46] Finished in 8.157 seconds with exit status 0 (successful).
88
- INFO [1fa8cae1] Running /usr/bin/env aria2c --continue=true --dir=/opt --out=bootstrap.deb https://s3-us-west-2.amazonaws.com/hcp-concourse/hcp-bootstrap_1.2.30%2Bmaster.77bb464.20160819000448_amd64.deb as ubuntu@52.89.237.123
88
+ INFO [1fa8cae1] Running /usr/bin/env aria2c --continue=true --dir=/opt --out=bootstrap.deb as ubuntu@52.89.237.123
89
89
  INFO [1fa8cae1] Finished in 3.395 seconds with exit status 0 (successful).
90
90
  INFO [577d4fdc] Running /usr/bin/env dpkg --install /opt/bootstrap.deb as ubuntu@52.89.237.123
91
91
  INFO [577d4fdc] Finished in 3.055 seconds with exit status 0 (successful).
92
92
 
93
93
  Contratulations! Your Jumpbox is ready. This instance has been configured with
94
- everything you need to deploy your very own Stackato. The SSH key used by this
94
+ everything you need to deploy your very own cluster. The SSH key used by this
95
95
  process has been uploaded to your Jumpbox, along with a bootstrap.properties
96
96
  file that has been configured to match the settings used here.
97
97
 
data/bin/cloudstrap CHANGED
@@ -13,8 +13,8 @@ gem = Gem::Specification
13
13
  .sort_by { |spec| spec.version }
14
14
  .last
15
15
 
16
- config = StackatoLKG::Config.new
17
- agent = StackatoLKG::BootstrapAgent.new
16
+ config = Cloudstrap::Config.new
17
+ agent = Cloudstrap::BootstrapAgent.new
18
18
 
19
19
  puts <<-EOS
20
20
  # #{gem.name} v#{gem.version}
@@ -82,7 +82,7 @@ if agent.jumpbox_running?
82
82
  STDERR.puts Pastel.new.green <<-EOS
83
83
 
84
84
  Congratulations! Your Jumpbox is ready. This instance has been configured with
85
- everything you need to deploy your very own Stackato. The SSH key used by this
85
+ everything you need to deploy your very own cluster. The SSH key used by this
86
86
  process has been uploaded to your Jumpbox, along with a bootstrap.properties
87
87
  file that has been configured to match the settings used here.
88
88
  EOS
@@ -2,7 +2,7 @@ require 'aws-sdk'
2
2
  require 'contracts'
3
3
  require_relative 'service'
4
4
 
5
- module StackatoLKG
5
+ module Cloudstrap
6
6
  module Amazon
7
7
  class EC2 < Service
8
8
  Contract None => ArrayOf[::Aws::EC2::Types::Vpc]
@@ -2,7 +2,7 @@ require 'aws-sdk'
2
2
  require 'contracts'
3
3
  require_relative 'service'
4
4
 
5
- module StackatoLKG
5
+ module Cloudstrap
6
6
  module Amazon
7
7
  class IAM < Service
8
8
  Contract None => ::Aws::IAM::Types::User
@@ -3,7 +3,7 @@ require 'contracts'
3
3
  require_relative 'support/rate_limit_handler'
4
4
  require_relative '../config'
5
5
 
6
- module StackatoLKG
6
+ module Cloudstrap
7
7
  module Amazon
8
8
  class Service
9
9
  include ::Contracts::Core
@@ -2,7 +2,7 @@ require 'aws-sdk'
2
2
  require 'contracts'
3
3
  require 'retries'
4
4
 
5
- module StackatoLKG
5
+ module Cloudstrap
6
6
  module Amazon
7
7
  module Support
8
8
  module RateLimitHandler
@@ -8,7 +8,7 @@ require_relative 'errors'
8
8
  require_relative 'hdp/bootstrap_properties'
9
9
  require_relative 'ssh'
10
10
 
11
- module StackatoLKG
11
+ module Cloudstrap
12
12
  class BootstrapAgent
13
13
  include ::Contracts::Core
14
14
  include ::Contracts::Builtin
@@ -2,7 +2,7 @@ require 'contracts'
2
2
  require 'pastel'
3
3
  require 'yaml'
4
4
 
5
- module StackatoLKG
5
+ module Cloudstrap
6
6
  class Config
7
7
  include ::Contracts::Core
8
8
  include ::Contracts::Builtin
@@ -4,7 +4,7 @@ require 'java-properties'
4
4
  require_relative '../config'
5
5
  require_relative '../seed_properties'
6
6
 
7
- module StackatoLKG
7
+ module Cloudstrap
8
8
  module HDP
9
9
  class BootstrapProperties
10
10
  include ::Contracts::Core
@@ -43,9 +43,9 @@ module StackatoLKG
43
43
 
44
44
  private
45
45
 
46
- Contract None => ::Cloudstrap::SeedProperties
46
+ Contract None => SeedProperties
47
47
  def seed
48
- @seed ||= ::Cloudstrap::SeedProperties.new
48
+ @seed ||= SeedProperties.new
49
49
  end
50
50
 
51
51
  Contract None => Bool
@@ -67,9 +67,9 @@ module StackatoLKG
67
67
  @properties = load
68
68
  end
69
69
 
70
- Contract None => ::StackatoLKG::Config
70
+ Contract None => Config
71
71
  def config
72
- @config ||= ::StackatoLKG::Config.new
72
+ @config ||= Config.new
73
73
  end
74
74
  end
75
75
  end
@@ -22,9 +22,9 @@ module Cloudstrap
22
22
  @contents ||= connection.body if connection.success?
23
23
  end
24
24
 
25
- Contract None => ::StackatoLKG::Config
25
+ Contract None => Config
26
26
  def config
27
- @config ||= ::StackatoLKG::Config.new
27
+ @config ||= Config.new
28
28
  end
29
29
  end
30
30
  end
@@ -1,7 +1,7 @@
1
1
  require 'contracts'
2
2
  require 'sshkit'
3
3
 
4
- module StackatoLKG
4
+ module Cloudstrap
5
5
  module SSH
6
6
  class Client
7
7
  include ::Contracts::Core
@@ -28,9 +28,9 @@ module StackatoLKG
28
28
 
29
29
  private
30
30
 
31
- Contract None => ::StackatoLKG::Config
31
+ Contract None => Config
32
32
  def config
33
- @config ||= ::StackatoLKG::Config.new
33
+ @config ||= Config.new
34
34
  end
35
35
  end
36
36
  end
@@ -2,7 +2,7 @@ require 'contracts'
2
2
  require 'sshkey'
3
3
  require_relative '../config'
4
4
 
5
- module StackatoLKG
5
+ module Cloudstrap
6
6
  module SSH
7
7
  class Key
8
8
  include ::Contracts::Core
@@ -73,7 +73,7 @@ module StackatoLKG
73
73
  Contract None => String
74
74
  def dir
75
75
  @dir ||= [
76
- ::StackatoLKG::Config.new.ssh_dir,
76
+ Config.new.ssh_dir,
77
77
  File.dirname(@name)
78
78
  ].join('/')
79
79
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.11.pre
4
+ version: 0.30.12.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom