bosh-bootstrap 0.8.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/.travis.yml +24 -3
- data/ChangeLog.md +8 -0
- data/Gemfile +5 -3
- data/Guardfile +3 -3
- data/Rakefile +21 -5
- data/lib/bosh/providers/aws.rb +67 -27
- data/lib/bosh/providers/base_provider.rb +27 -0
- data/lib/bosh/providers/openstack.rb +16 -6
- data/lib/bosh-bootstrap/cli.rb +166 -61
- data/lib/bosh-bootstrap/commander/remote_script_command.rb +7 -4
- data/lib/bosh-bootstrap/commander/remote_server.rb +12 -10
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/bosh_micro_deploy +5 -1
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/download_micro_bosh_stemcell +12 -6
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy.rb +4 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/configure_git +4 -9
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/create_vcap_user +1 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages +12 -2
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh +3 -45
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_by_gem_install +54 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_hub +26 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_ruby +10 -15
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_useful_gems +1 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer +0 -5
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm.rb +21 -15
- data/lib/bosh-bootstrap/stages/{stage_prepare_inception_vm → stage_salted_password}/convert_salted_password +0 -0
- data/lib/bosh-bootstrap/stages/stage_salted_password.rb +51 -0
- data/lib/bosh-bootstrap/stages/stage_setup_new_bosh.rb +0 -1
- data/lib/bosh-bootstrap/stages/stage_validate_inception_vm.rb +1 -1
- data/lib/bosh-bootstrap/stages.rb +1 -0
- data/lib/bosh-bootstrap/version.rb +1 -1
- data/spec/{functional → integration}/.gitkeep +0 -0
- data/spec/integration/aws/aws_basic_spec.rb +39 -0
- data/spec/integration/aws/aws_edge_prebuilt_ami_spec.rb +46 -0
- data/spec/integration/aws/aws_edge_prebuilt_spec.rb +46 -0
- data/spec/integration/aws/aws_edge_spec.rb +45 -0
- data/spec/integration/aws/aws_helpers.rb +79 -0
- data/spec/spec_helper.rb +6 -0
- data/spec/unit/aws_spec.rb +28 -6
- data/spec/unit/bosh/providers/aws_spec.rb +14 -0
- data/spec/unit/cli_spec.rb +10 -8
- data/vendor/cache/POpen4-0.1.4.gem +0 -0
- data/vendor/cache/Platform-0.4.0.gem +0 -0
- data/vendor/cache/activesupport-3.2.8.gem +0 -0
- data/vendor/cache/awesome_print-1.1.0.gem +0 -0
- data/vendor/cache/aws-s3-0.6.3.gem +0 -0
- data/vendor/cache/blobstore_client-0.4.0.gem +0 -0
- data/vendor/cache/bosh_cli-1.0.3.gem +0 -0
- data/vendor/cache/bosh_common-0.5.4.gem +0 -0
- data/vendor/cache/builder-3.1.4.gem +0 -0
- data/vendor/cache/coderay-1.0.8.gem +0 -0
- data/vendor/cache/diff-lcs-1.1.3.gem +0 -0
- data/vendor/cache/escape-0.0.4.gem +0 -0
- data/vendor/cache/excon-0.17.0.gem +0 -0
- data/vendor/cache/fog-1.8.0.gem +0 -0
- data/vendor/cache/formatador-0.2.4.gem +0 -0
- data/vendor/cache/guard-1.6.2.gem +0 -0
- data/vendor/cache/guard-rspec-2.4.0.gem +0 -0
- data/vendor/cache/highline-1.6.15.gem +0 -0
- data/vendor/cache/httpclient-2.2.4.gem +0 -0
- data/vendor/cache/i18n-0.6.1.gem +0 -0
- data/vendor/cache/json_pure-1.6.8.gem +0 -0
- data/vendor/cache/listen-0.7.2.gem +0 -0
- data/vendor/cache/log4r-1.1.10.gem +0 -0
- data/vendor/cache/lumberjack-1.0.2.gem +0 -0
- data/vendor/cache/method_source-0.8.1.gem +0 -0
- data/vendor/cache/mime-types-1.21.gem +0 -0
- data/vendor/cache/multi_json-1.1.0.gem +0 -0
- data/vendor/cache/net-scp-1.0.4.gem +0 -0
- data/vendor/cache/net-ssh-2.2.2.gem +0 -0
- data/vendor/cache/net-ssh-gateway-1.1.0.gem +0 -0
- data/vendor/cache/netaddr-1.5.0.gem +0 -0
- data/vendor/cache/nokogiri-1.5.6-java.gem +0 -0
- data/vendor/cache/nokogiri-1.5.6.gem +0 -0
- data/vendor/cache/open4-1.3.0.gem +0 -0
- data/vendor/cache/progressbar-0.9.2.gem +0 -0
- data/vendor/cache/pry-0.9.11.4-java.gem +0 -0
- data/vendor/cache/pry-0.9.11.4.gem +0 -0
- data/vendor/cache/rake-10.0.3.gem +0 -0
- data/vendor/cache/rb-fsevent-0.9.3.gem +0 -0
- data/vendor/cache/redcard-1.0.0.gem +0 -0
- data/vendor/cache/rspec-2.12.0.gem +0 -0
- data/vendor/cache/rspec-core-2.12.2.gem +0 -0
- data/vendor/cache/rspec-expectations-2.12.1.gem +0 -0
- data/vendor/cache/rspec-mocks-2.12.2.gem +0 -0
- data/vendor/cache/ruby-atmos-pure-1.0.5.gem +0 -0
- data/vendor/cache/ruby-hmac-0.4.0.gem +0 -0
- data/vendor/cache/settingslogic-2.0.9.gem +0 -0
- data/vendor/cache/slop-3.4.3.gem +0 -0
- data/vendor/cache/spoon-0.0.1.gem +0 -0
- data/vendor/cache/terminal-table-1.4.5.gem +0 -0
- data/vendor/cache/thor-0.17.0.gem +0 -0
- data/vendor/cache/uuidtools-2.1.3.gem +0 -0
- data/vendor/cache/xml-simple-1.1.2.gem +0 -0
- metadata +72 -7
- data/lib/bosh-bootstrap/stages/stage_setup_new_bosh/cleanup_permissions +0 -14
data/spec/unit/aws_spec.rb
CHANGED
@@ -23,7 +23,6 @@ describe "AWS deployment" do
|
|
23
23
|
setting "inception.create_new", true
|
24
24
|
setting "bosh_username", "testuser"
|
25
25
|
setting "bosh_password", "testpass"
|
26
|
-
setting "bosh.password", "testpass"
|
27
26
|
setting "fog_credentials", @fog_credentials.stringify_keys
|
28
27
|
setting "bosh.salted_password", "pepper"
|
29
28
|
setting "bosh.persistent_disk", 16384
|
@@ -65,7 +64,7 @@ describe "AWS deployment" do
|
|
65
64
|
@cmd.should_receive(:provision_and_mount_volume)
|
66
65
|
@cmd.stub(:run_server).and_return(true)
|
67
66
|
@cmd.stub(:sleep)
|
68
|
-
@cmd.should_receive(:
|
67
|
+
@cmd.should_receive(:deploy_stage_7_setup_new_bosh)
|
69
68
|
@cmd.deploy
|
70
69
|
|
71
70
|
fog.addresses.should have(1).item # assigned to inception VM
|
@@ -85,7 +84,7 @@ describe "AWS deployment" do
|
|
85
84
|
# TODO - fix fog so we can test private_ip_address
|
86
85
|
# inception.private_ip_address.should == "10.0.0.5"
|
87
86
|
|
88
|
-
fog.security_groups.should have(
|
87
|
+
fog.security_groups.should have(3).item
|
89
88
|
|
90
89
|
fog.internet_gateways.should have(1).item
|
91
90
|
ig = fog.internet_gateways.first
|
@@ -104,6 +103,7 @@ describe "AWS deployment" do
|
|
104
103
|
|
105
104
|
inception_server = fog.servers.first
|
106
105
|
inception_server.dns_name.should == settings["inception"]["host"]
|
106
|
+
inception_server.groups.should == [settings["inception"]["security_group"]]
|
107
107
|
|
108
108
|
public_ip = settings["bosh"]["ip_address"]
|
109
109
|
public_ip.should == "10.0.0.6"
|
@@ -118,10 +118,13 @@ describe "AWS deployment" do
|
|
118
118
|
@cmd.should_receive(:provision_and_mount_volume)
|
119
119
|
@cmd.stub(:run_server).and_return(true)
|
120
120
|
@cmd.stub(:sleep)
|
121
|
-
@cmd.should_receive(:
|
121
|
+
@cmd.should_receive(:deploy_stage_7_setup_new_bosh)
|
122
122
|
@cmd.deploy
|
123
123
|
@settings = nil # reload settings file
|
124
124
|
|
125
|
+
# TODO we are temporarily using prebuilt stemcells by default for AWS
|
126
|
+
settings["micro_bosh_stemcell_type"].should == "edge-prebuilt"
|
127
|
+
|
125
128
|
fog.addresses.should have(2).item
|
126
129
|
inception_ip_address = fog.addresses.first
|
127
130
|
inception_ip_address.domain.should == "standard"
|
@@ -135,7 +138,6 @@ describe "AWS deployment" do
|
|
135
138
|
fog.key_pairs.should have(2).item
|
136
139
|
|
137
140
|
settings["inception"].should_not be_nil
|
138
|
-
p settings["inception"]
|
139
141
|
settings["inception"]["key_pair"].should_not be_nil
|
140
142
|
settings["inception"]["key_pair"]["name"].should_not be_nil
|
141
143
|
settings["inception"]["key_pair"]["private_key"].should_not be_nil
|
@@ -144,10 +146,30 @@ describe "AWS deployment" do
|
|
144
146
|
|
145
147
|
fog.vpcs.should have(0).item
|
146
148
|
fog.servers.should have(1).item
|
147
|
-
fog.security_groups.should have(
|
149
|
+
fog.security_groups.should have(3).item
|
148
150
|
|
149
151
|
inception_server = fog.servers.first
|
150
152
|
inception_server.dns_name.should == settings["inception"]["host"]
|
153
|
+
inception_server.groups.should == [settings["inception"]["security_group"]]
|
154
|
+
|
155
|
+
public_ip = settings["bosh"]["ip_address"]
|
156
|
+
manifest_path = spec_asset("micro_bosh_yml/micro_bosh.aws_ec2.yml")
|
157
|
+
YAML.load(@cmd.micro_bosh_yml).should == expected_manifest_content(manifest_path, public_ip)
|
158
|
+
end
|
159
|
+
|
160
|
+
it "uses pre-built gems and AMIs for us-east-1 created from jenkins" do
|
161
|
+
@cmd.should_receive(:provision_and_mount_volume)
|
162
|
+
@cmd.stub(:run_server).and_return(true)
|
163
|
+
@cmd.stub(:sleep)
|
164
|
+
@cmd.should_receive(:deploy_stage_7_setup_new_bosh)
|
165
|
+
@cmd.should_receive(:latest_prebuilt_microbosh_ami).and_return("ami-123456")
|
166
|
+
|
167
|
+
setting "edge-prebuilt", true
|
168
|
+
@cmd.deploy
|
169
|
+
|
170
|
+
settings["micro_bosh_stemcell_type"].should == "ami"
|
171
|
+
settings["micro_bosh_stemcell_name"].should == "ami-123456"
|
172
|
+
|
151
173
|
public_ip = settings["bosh"]["ip_address"]
|
152
174
|
manifest_path = spec_asset("micro_bosh_yml/micro_bosh.aws_ec2.yml")
|
153
175
|
YAML.load(@cmd.micro_bosh_yml).should == expected_manifest_content(manifest_path, public_ip)
|
@@ -61,6 +61,20 @@ describe Bosh::Providers do
|
|
61
61
|
}
|
62
62
|
]
|
63
63
|
end
|
64
|
+
it "should open a range of ICMP ports" do
|
65
|
+
ports = { ping: { protocol: "icmp", ports: (3..4) } }
|
66
|
+
@aws_provider.create_security_group("sg-range-icmp-name", "sg-range-icmp-name", ports)
|
67
|
+
created_sg = @fog_compute.security_groups.get("sg-range-icmp-name")
|
68
|
+
created_sg.ip_permissions.should == [
|
69
|
+
{
|
70
|
+
"ipProtocol"=>"icmp",
|
71
|
+
"fromPort"=>3,
|
72
|
+
"toPort"=>4,
|
73
|
+
"groups"=>[],
|
74
|
+
"ipRanges"=>[ { "cidrIp"=>"0.0.0.0/0" } ]
|
75
|
+
}
|
76
|
+
]
|
77
|
+
end
|
64
78
|
it "should open not open ports if they are already open" do
|
65
79
|
@aws_provider.create_security_group("sg2", "", { ssh: { protocol: "udp", ports: (60000..600050) } })
|
66
80
|
@aws_provider.create_security_group("sg2", "", { ssh: { protocol: "udp", ports: (60010..600040) } })
|
data/spec/unit/cli_spec.rb
CHANGED
@@ -20,8 +20,9 @@ describe Bosh::Bootstrap do
|
|
20
20
|
deploy_stage_2_bosh_configuration
|
21
21
|
deploy_stage_3_create_allocate_inception_vm
|
22
22
|
deploy_stage_4_prepare_inception_vm
|
23
|
-
|
24
|
-
|
23
|
+
deploy_stage_5_salted_password
|
24
|
+
deploy_stage_6_deploy_micro_bosh
|
25
|
+
deploy_stage_7_setup_new_bosh
|
25
26
|
]
|
26
27
|
stage_methods.each do |method|
|
27
28
|
unless method =~ /#{stage}/
|
@@ -41,8 +42,9 @@ describe Bosh::Bootstrap do
|
|
41
42
|
@cmd.should_receive(:deploy_stage_2_bosh_configuration)
|
42
43
|
@cmd.should_receive(:deploy_stage_3_create_allocate_inception_vm)
|
43
44
|
@cmd.should_receive(:deploy_stage_4_prepare_inception_vm)
|
44
|
-
@cmd.should_receive(:
|
45
|
-
@cmd.should_receive(:
|
45
|
+
@cmd.should_receive(:deploy_stage_5_salted_password)
|
46
|
+
@cmd.should_receive(:deploy_stage_6_deploy_micro_bosh)
|
47
|
+
@cmd.should_receive(:deploy_stage_7_setup_new_bosh)
|
46
48
|
@cmd.deploy
|
47
49
|
end
|
48
50
|
|
@@ -66,8 +68,8 @@ describe Bosh::Bootstrap do
|
|
66
68
|
@cmd.deploy
|
67
69
|
end
|
68
70
|
|
69
|
-
it "stage
|
70
|
-
testing_stage(
|
71
|
+
it "stage 6 - download stemcell and deploy microbosh" do
|
72
|
+
testing_stage(6)
|
71
73
|
@cmd.should_receive(:recreate_local_ssh_keys_for_inception_vm)
|
72
74
|
setting "bosh_provider", "aws"
|
73
75
|
setting "micro_bosh_stemcell_name", "micro-bosh-stemcell-aws-0.8.1.tgz"
|
@@ -84,8 +86,8 @@ describe Bosh::Bootstrap do
|
|
84
86
|
@cmd.deploy
|
85
87
|
end
|
86
88
|
|
87
|
-
it "stage
|
88
|
-
testing_stage(
|
89
|
+
it "stage 7 - sets up new microbosh" do
|
90
|
+
testing_stage(7)
|
89
91
|
setting "bosh_name", "microbosh-aws-us-east-1"
|
90
92
|
setting "bosh_username", "drnic"
|
91
93
|
setting "bosh_password", "password"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -261,16 +261,18 @@ files:
|
|
261
261
|
- lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/install_key_pair_for_user
|
262
262
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm.rb
|
263
263
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/configure_git
|
264
|
-
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/convert_salted_password
|
265
264
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/create_vcap_user
|
266
265
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
|
267
266
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh
|
267
|
+
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_by_gem_install
|
268
268
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_plugins
|
269
|
+
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_hub
|
269
270
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_ruby
|
270
271
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_useful_gems
|
271
272
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer
|
273
|
+
- lib/bosh-bootstrap/stages/stage_salted_password.rb
|
274
|
+
- lib/bosh-bootstrap/stages/stage_salted_password/convert_salted_password
|
272
275
|
- lib/bosh-bootstrap/stages/stage_setup_new_bosh.rb
|
273
|
-
- lib/bosh-bootstrap/stages/stage_setup_new_bosh/cleanup_permissions
|
274
276
|
- lib/bosh-bootstrap/stages/stage_setup_new_bosh/setup_bosh_user
|
275
277
|
- lib/bosh-bootstrap/stages/stage_validate_inception_vm.rb
|
276
278
|
- lib/bosh-bootstrap/stages/stage_validate_inception_vm/validate_ubuntu
|
@@ -284,7 +286,12 @@ files:
|
|
284
286
|
- spec/assets/bosh/public_stemcells/aws_micro.out
|
285
287
|
- spec/assets/micro_bosh_yml/micro_bosh.aws_ec2.yml
|
286
288
|
- spec/assets/micro_bosh_yml/micro_bosh.aws_vpc.yml
|
287
|
-
- spec/
|
289
|
+
- spec/integration/.gitkeep
|
290
|
+
- spec/integration/aws/aws_basic_spec.rb
|
291
|
+
- spec/integration/aws/aws_edge_prebuilt_ami_spec.rb
|
292
|
+
- spec/integration/aws/aws_edge_prebuilt_spec.rb
|
293
|
+
- spec/integration/aws/aws_edge_spec.rb
|
294
|
+
- spec/integration/aws/aws_helpers.rb
|
288
295
|
- spec/spec_helper.rb
|
289
296
|
- spec/unit/.gitkeep
|
290
297
|
- spec/unit/aws_spec.rb
|
@@ -293,6 +300,59 @@ files:
|
|
293
300
|
- spec/unit/cli_ssh_spec.rb
|
294
301
|
- spec/unit/cli_upgrade_inception_spec.rb
|
295
302
|
- spec/unit/settings_setter_spec.rb
|
303
|
+
- vendor/cache/POpen4-0.1.4.gem
|
304
|
+
- vendor/cache/Platform-0.4.0.gem
|
305
|
+
- vendor/cache/activesupport-3.2.8.gem
|
306
|
+
- vendor/cache/awesome_print-1.1.0.gem
|
307
|
+
- vendor/cache/aws-s3-0.6.3.gem
|
308
|
+
- vendor/cache/blobstore_client-0.4.0.gem
|
309
|
+
- vendor/cache/bosh_cli-1.0.3.gem
|
310
|
+
- vendor/cache/bosh_common-0.5.4.gem
|
311
|
+
- vendor/cache/builder-3.1.4.gem
|
312
|
+
- vendor/cache/coderay-1.0.8.gem
|
313
|
+
- vendor/cache/diff-lcs-1.1.3.gem
|
314
|
+
- vendor/cache/escape-0.0.4.gem
|
315
|
+
- vendor/cache/excon-0.17.0.gem
|
316
|
+
- vendor/cache/fog-1.8.0.gem
|
317
|
+
- vendor/cache/formatador-0.2.4.gem
|
318
|
+
- vendor/cache/guard-1.6.2.gem
|
319
|
+
- vendor/cache/guard-rspec-2.4.0.gem
|
320
|
+
- vendor/cache/highline-1.6.15.gem
|
321
|
+
- vendor/cache/httpclient-2.2.4.gem
|
322
|
+
- vendor/cache/i18n-0.6.1.gem
|
323
|
+
- vendor/cache/json_pure-1.6.8.gem
|
324
|
+
- vendor/cache/listen-0.7.2.gem
|
325
|
+
- vendor/cache/log4r-1.1.10.gem
|
326
|
+
- vendor/cache/lumberjack-1.0.2.gem
|
327
|
+
- vendor/cache/method_source-0.8.1.gem
|
328
|
+
- vendor/cache/mime-types-1.21.gem
|
329
|
+
- vendor/cache/multi_json-1.1.0.gem
|
330
|
+
- vendor/cache/net-scp-1.0.4.gem
|
331
|
+
- vendor/cache/net-ssh-2.2.2.gem
|
332
|
+
- vendor/cache/net-ssh-gateway-1.1.0.gem
|
333
|
+
- vendor/cache/netaddr-1.5.0.gem
|
334
|
+
- vendor/cache/nokogiri-1.5.6-java.gem
|
335
|
+
- vendor/cache/nokogiri-1.5.6.gem
|
336
|
+
- vendor/cache/open4-1.3.0.gem
|
337
|
+
- vendor/cache/progressbar-0.9.2.gem
|
338
|
+
- vendor/cache/pry-0.9.11.4-java.gem
|
339
|
+
- vendor/cache/pry-0.9.11.4.gem
|
340
|
+
- vendor/cache/rake-10.0.3.gem
|
341
|
+
- vendor/cache/rb-fsevent-0.9.3.gem
|
342
|
+
- vendor/cache/redcard-1.0.0.gem
|
343
|
+
- vendor/cache/rspec-2.12.0.gem
|
344
|
+
- vendor/cache/rspec-core-2.12.2.gem
|
345
|
+
- vendor/cache/rspec-expectations-2.12.1.gem
|
346
|
+
- vendor/cache/rspec-mocks-2.12.2.gem
|
347
|
+
- vendor/cache/ruby-atmos-pure-1.0.5.gem
|
348
|
+
- vendor/cache/ruby-hmac-0.4.0.gem
|
349
|
+
- vendor/cache/settingslogic-2.0.9.gem
|
350
|
+
- vendor/cache/slop-3.4.3.gem
|
351
|
+
- vendor/cache/spoon-0.0.1.gem
|
352
|
+
- vendor/cache/terminal-table-1.4.5.gem
|
353
|
+
- vendor/cache/thor-0.17.0.gem
|
354
|
+
- vendor/cache/uuidtools-2.1.3.gem
|
355
|
+
- vendor/cache/xml-simple-1.1.2.gem
|
296
356
|
homepage: https://github.com/StarkAndWayne/bosh-bootstrap
|
297
357
|
licenses: []
|
298
358
|
post_install_message:
|
@@ -313,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
373
|
version: '0'
|
314
374
|
segments:
|
315
375
|
- 0
|
316
|
-
hash:
|
376
|
+
hash: 2829308675066095393
|
317
377
|
requirements: []
|
318
378
|
rubyforge_project:
|
319
379
|
rubygems_version: 1.8.25
|
@@ -326,7 +386,12 @@ test_files:
|
|
326
386
|
- spec/assets/bosh/public_stemcells/aws_micro.out
|
327
387
|
- spec/assets/micro_bosh_yml/micro_bosh.aws_ec2.yml
|
328
388
|
- spec/assets/micro_bosh_yml/micro_bosh.aws_vpc.yml
|
329
|
-
- spec/
|
389
|
+
- spec/integration/.gitkeep
|
390
|
+
- spec/integration/aws/aws_basic_spec.rb
|
391
|
+
- spec/integration/aws/aws_edge_prebuilt_ami_spec.rb
|
392
|
+
- spec/integration/aws/aws_edge_prebuilt_spec.rb
|
393
|
+
- spec/integration/aws/aws_edge_spec.rb
|
394
|
+
- spec/integration/aws/aws_helpers.rb
|
330
395
|
- spec/spec_helper.rb
|
331
396
|
- spec/unit/.gitkeep
|
332
397
|
- spec/unit/aws_spec.rb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
# Cleanup file permissions
|
4
|
-
|
5
|
-
if [[ $EUID -ne 0 ]]; then
|
6
|
-
echo "ERROR: This script must be run as root" 1>&2
|
7
|
-
exit 1
|
8
|
-
fi
|
9
|
-
|
10
|
-
chown -R vcap:vcap ~vcap/.bosh*
|
11
|
-
if [[ -d ~vcap/.gem ]]; then
|
12
|
-
chown -R vcap:vcap ~vcap/.gem
|
13
|
-
fi
|
14
|
-
chown -R vcap:vcap /var/vcap/store/repos
|