bosh-bootstrap 0.11.5 → 0.11.6

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.
data/ChangeLog.md CHANGED
@@ -27,6 +27,7 @@
27
27
  * rubygem users should be able to install & run from rubygems instead of source workaround (v0.11.5)
28
28
  * microbosh volume is smaller 4G and automatically fits on devstack/openstack (v0.11.5; thx @ryfow)
29
29
  * security group `bosh_agent_http` renamed to `bosh_agent_https`, with same 6868 port for talking to bosh_agent running in https mode (`bosh_agent_http` can then be deleted) (v0.11.5)
30
+ * add port 53/dns security group (v0.11.6)
30
31
 
31
32
  ## v0.10
32
33
 
data/bin/bosh-bootstrap CHANGED
@@ -2,10 +2,6 @@
2
2
  $:.push File.dirname(__FILE__) + '/../lib'
3
3
 
4
4
  require "rubygems"
5
- require "bundler"
6
-
7
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
8
- Bundler.setup(:default)
9
5
 
10
6
  require "bosh-bootstrap"
11
7
  require "bosh-bootstrap/thor_cli"
@@ -2,6 +2,8 @@
2
2
  require "rake"
3
3
  require "rake/file_utils"
4
4
 
5
+ require "bundler"
6
+
5
7
  module Bosh::Bootstrap::Cli::Helpers::Bundle
6
8
  def bundle(*args)
7
9
  Bundler.with_clean_env {
@@ -56,6 +56,7 @@ module Bosh::Bootstrap::MicroboshProviders
56
56
 
57
57
  def security_groups
58
58
  ["ssh",
59
+ "dns_server",
59
60
  "bosh_agent_https",
60
61
  "bosh_nats_server",
61
62
  "bosh_blobstore",
@@ -81,7 +82,7 @@ module Bosh::Bootstrap::MicroboshProviders
81
82
  end
82
83
 
83
84
  def stemcell_uri
84
- "http://#{jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-aws.tgz"
85
+ "http://#{jenkins_bucket}.s3.amazonaws.com/micro-bosh-stemcell/aws/latest-micro-bosh-stemcell-aws.tgz"
85
86
  end
86
87
  end
87
88
  end
@@ -66,6 +66,7 @@ module Bosh::Bootstrap::MicroboshProviders
66
66
 
67
67
  def security_groups
68
68
  ["ssh",
69
+ "dns_server",
69
70
  "bosh_agent_https",
70
71
  "bosh_nats_server",
71
72
  "bosh_blobstore",
@@ -74,7 +75,7 @@ module Bosh::Bootstrap::MicroboshProviders
74
75
  end
75
76
 
76
77
  def stemcell_uri
77
- "http://#{jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-openstack.tgz"
78
+ "http://#{jenkins_bucket}.s3.amazonaws.com/micro-bosh-stemcell/openstack/latest-micro-bosh-stemcell-openstack.tgz"
78
79
  end
79
80
  end
80
81
  end
@@ -16,6 +16,7 @@ module Bosh::Bootstrap::NetworkProviders
16
16
  def security_groups
17
17
  {
18
18
  ssh: 22,
19
+ dns_server: 53,
19
20
  bosh_nats_server: 4222,
20
21
  bosh_agent_https: 6868,
21
22
  bosh_blobstore: 25250,
@@ -16,6 +16,7 @@ module Bosh::Bootstrap::NetworkProviders
16
16
  def security_groups
17
17
  {
18
18
  ssh: 22,
19
+ dns_server: 53,
19
20
  bosh_nats_server: 4222,
20
21
  bosh_agent_https: 6868,
21
22
  bosh_blobstore: 25250,
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Bootstrap
3
- VERSION = "0.11.5"
3
+ VERSION = "0.11.6"
4
4
  end
5
5
  end
@@ -20,6 +20,7 @@ cloud:
20
20
  ec2_endpoint: ec2.us-west-2.amazonaws.com
21
21
  default_security_groups:
22
22
  - ssh
23
+ - dns_server
23
24
  - bosh_agent_https
24
25
  - bosh_nats_server
25
26
  - bosh_blobstore
@@ -19,6 +19,7 @@ cloud:
19
19
  ec2_endpoint: ec2.us-west-2.amazonaws.com
20
20
  default_security_groups:
21
21
  - ssh
22
+ - dns_server
22
23
  - bosh_agent_https
23
24
  - bosh_nats_server
24
25
  - bosh_blobstore
@@ -21,6 +21,7 @@ cloud:
21
21
  ec2_endpoint: ec2.us-west-2.amazonaws.com
22
22
  default_security_groups:
23
23
  - ssh
24
+ - dns_server
24
25
  - bosh_agent_https
25
26
  - bosh_nats_server
26
27
  - bosh_blobstore
@@ -20,6 +20,7 @@ cloud:
20
20
  region: REGION
21
21
  default_security_groups:
22
22
  - ssh
23
+ - dns_server
23
24
  - bosh_agent_https
24
25
  - bosh_nats_server
25
26
  - bosh_blobstore
@@ -8,7 +8,7 @@ describe Bosh::Bootstrap::MicroboshProviders::AWS do
8
8
  let(:microbosh_yml) { File.expand_path("~/.microbosh/deployments/micro_bosh.yml")}
9
9
  let(:aws_jenkins_bucket) { "bosh-jenkins-artifacts" }
10
10
  let(:latest_ami_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-aws_ami_us-east-1" }
11
- let(:latest_stemcell_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-aws.tgz" }
11
+ let(:latest_stemcell_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/micro-bosh-stemcell/aws/latest-micro-bosh-stemcell-aws.tgz" }
12
12
 
13
13
  it "creates micro_bosh.yml manifest" do
14
14
  setting "provider.name", "aws"
@@ -81,7 +81,7 @@ describe Bosh::Bootstrap::MicroboshProviders::AWS do
81
81
 
82
82
  subject = Bosh::Bootstrap::MicroboshProviders::AWS.new(microbosh_yml, settings)
83
83
  subject.stub(:sh).with("curl -O '#{latest_stemcell_uri}'")
84
- subject.stemcell.should =~ %r{deployments/last_successful_micro-bosh-stemcell-aws.tgz$}
84
+ subject.stemcell.should =~ %r{deployments/latest-micro-bosh-stemcell-aws.tgz$}
85
85
  end
86
86
  end
87
87
  end
@@ -16,6 +16,7 @@ describe Bosh::Bootstrap::NetworkProviders::AWS do
16
16
  it "creates security groups it needs" do
17
17
  expected_groups = [
18
18
  ["ssh", "ssh", ports: 22],
19
+ ["dns_server", "dns_server", ports: 53],
19
20
  ["bosh_nats_server", "bosh_nats_server", ports: 4222],
20
21
  ["bosh_agent_https", "bosh_agent_https", ports: 6868],
21
22
  ["bosh_blobstore", "bosh_blobstore", ports: 25250],
@@ -15,6 +15,7 @@ describe Bosh::Bootstrap::NetworkProviders::OpenStack do
15
15
  it "creates security groups it needs" do
16
16
  expected_groups = [
17
17
  ["ssh", "ssh", ports: 22],
18
+ ["dns_server", "dns_server", ports: 53],
18
19
  ["bosh_nats_server", "bosh_nats_server", ports: 4222],
19
20
  ["bosh_agent_https", "bosh_agent_https", ports: 6868],
20
21
  ["bosh_blobstore", "bosh_blobstore", ports: 25250],
@@ -8,7 +8,7 @@ describe Bosh::Bootstrap::Network do
8
8
 
9
9
  it "uses NetworkProvider if available" do
10
10
  network = Bosh::Bootstrap::Network.new("aws", aws_provider_client)
11
- aws_provider_client.should_receive(:create_security_group).exactly(6).times
11
+ aws_provider_client.should_receive(:create_security_group).exactly(7).times
12
12
  network.deploy
13
13
  end
14
14
 
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.11.5
4
+ version: 0.11.6
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-06-07 00:00:00.000000000 Z
12
+ date: 2013-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cyoi
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  segments:
229
229
  - 0
230
- hash: 1342872360376581564
230
+ hash: -867321845324653925
231
231
  requirements: []
232
232
  rubyforge_project:
233
233
  rubygems_version: 1.8.25