bosh-deployer 0.0.6 → 0.0.7

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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: 2014-09-19 00:00:00.000000000 Z
12
+ date: 2014-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: recursive-open-struct
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
78
94
  - !ruby/object:Gem::Dependency
79
95
  name: rake
80
96
  requirement: !ruby/object:Gem::Requirement
@@ -125,15 +141,19 @@ files:
125
141
  - bin/bosh-deployer
126
142
  - bosh-deployer.gemspec
127
143
  - lib/bosh-deployer.rb
144
+ - lib/bosh-deployer/bosh_settings.rb
128
145
  - lib/bosh-deployer/bosh_stub.rb
146
+ - lib/bosh-deployer/cf_stub.rb
129
147
  - lib/bosh-deployer/cli/commands/generate_stub.rb
130
148
  - lib/bosh-deployer/cli/commands/provision_stemcells.rb
149
+ - lib/bosh-deployer/microbosh_settings.rb
131
150
  - lib/bosh-deployer/stemcell.rb
151
+ - lib/bosh-deployer/stub.rb
132
152
  - lib/bosh-deployer/thor_cli.rb
133
153
  - lib/bosh-deployer/version.rb
134
- - lib/bosh/cli/commands/bosh_deployer.rb
135
154
  - lib/bosh/cli/commands/deployer.rb
136
155
  - spec/bosh_stub_spec.rb
156
+ - spec/cf_stub_spec.rb
137
157
  - spec/cli/deployer_spec.rb
138
158
  - spec/commands/generate_stub_spec.rb
139
159
  - spec/commands/provision_stemcells_spec.rb
@@ -141,10 +161,14 @@ files:
141
161
  - spec/fixtures/manifests/bosh.yml
142
162
  - spec/fixtures/manifests/cf.yml
143
163
  - spec/fixtures/stubs/bosh.yml
144
- - spec/fixtures/stubs/cloudfoundry.stub.yml
164
+ - spec/fixtures/stubs/cloudfoundry.yml
165
+ - spec/microbosh_settings_spec.rb
145
166
  - spec/stemcell_spec.rb
167
+ - spec/stub_spec.rb
168
+ - spec/support/helper.rb
146
169
  - spec/thor_cli_spec.rb
147
170
  - stubs/bosh.yml.erb
171
+ - stubs/cloudfoundry.yml.erb
148
172
  homepage: https://github.com/bonzofenix/bosh-deployer
149
173
  licenses: []
150
174
  post_install_message:
@@ -172,6 +196,7 @@ summary: ! 'bosh-deployer can: - downloads and upload stemcells specifies on a m
172
196
  pending: - deploy Bosh - deploy CF'
173
197
  test_files:
174
198
  - spec/bosh_stub_spec.rb
199
+ - spec/cf_stub_spec.rb
175
200
  - spec/cli/deployer_spec.rb
176
201
  - spec/commands/generate_stub_spec.rb
177
202
  - spec/commands/provision_stemcells_spec.rb
@@ -179,6 +204,9 @@ test_files:
179
204
  - spec/fixtures/manifests/bosh.yml
180
205
  - spec/fixtures/manifests/cf.yml
181
206
  - spec/fixtures/stubs/bosh.yml
182
- - spec/fixtures/stubs/cloudfoundry.stub.yml
207
+ - spec/fixtures/stubs/cloudfoundry.yml
208
+ - spec/microbosh_settings_spec.rb
183
209
  - spec/stemcell_spec.rb
210
+ - spec/stub_spec.rb
211
+ - spec/support/helper.rb
184
212
  - spec/thor_cli_spec.rb
@@ -1,23 +0,0 @@
1
- require "bosh-deployer"
2
-
3
- module Bosh::Cli::Command
4
- class Deployer < Base
5
- usage "deployer"
6
- desc "show deployer sub-commands"
7
- def help
8
- say("bosh deployer sub-commands:")
9
- nl
10
- cmds = Bosh::Cli::Config.commands.values.find_all {|c|
11
- c.usage =~ /^deployer/
12
- }
13
- Bosh::Cli::Command::Help.list_commands(cmds)
14
- end
15
-
16
- usage "deployer provision stemcells"
17
- desc "finds and uploads the required stemcell point out in your manifest to bosh"
18
- def provision_stemcells
19
- require "bosh-deployer/cli/commands/provision_stemcells"
20
- Bosh::Deployer::Cli::Commands::ProvisionStemcells.new.perform
21
- end
22
- end
23
- end
@@ -1,145 +0,0 @@
1
- ---
2
- director_uuid: DELETE_ME
3
- meta:
4
- bosh-network:
5
- cidr: 10.0.0.0/8
6
- floating_static_ips:
7
- - 1.2.3.4
8
- openstack:
9
- stemcell:
10
- name: bosh-openstack-kvm-ubuntu-lucid-go_agent
11
- version: latest
12
- environment: cf
13
- jobs:
14
- ha_proxy_z1:
15
- instances: 1
16
- networks:
17
- cf1:
18
- default:
19
- - dns
20
- - gateway
21
- properties:
22
- ha_proxy:
23
- ssl_pem: ! 'KEY
24
-
25
- CERTIFICATE'
26
- etcd_z1:
27
- instances: 1
28
- login_z2:
29
- instances: 0
30
- networks:
31
- - type: vip
32
- cloud_properties:
33
- net_id: MICROBOSH_SUBNET_ID
34
- name: floating
35
- - subnets:
36
- - name: default_unused
37
- range: 10.0.0.0/8
38
- gateway: 1.1.1.1
39
- reserved:
40
- - 1.1.1.1 - 2.2.2.2
41
- static:
42
- - 2.2.2.2 - 3.3.3.3
43
- cloud_properties:
44
- net_id: MICROBOSH_SUBNET_ID
45
- security_groups:
46
- - cf-public
47
- - cf-private
48
- - ssh
49
- name: cf1
50
- - cloud_properties:
51
- net_id: MICROBOSH_SUBNET_ID
52
- security_groups:
53
- - cf-public
54
- - cf-private
55
- - ssh
56
- range: 10.0.0.0/8
57
- type: dynamic
58
- name: cf-dynamic
59
- - type: manual
60
- subnets:
61
- - name: default_unused
62
- range: 10.0.0.0/23
63
- gateway: 10.0.0.1
64
- reserved: []
65
- static:
66
- - 10.0.0.2 - 10.0.0.250
67
- cloud_properties:
68
- net_id: MICROBOSH_SUBNET_ID
69
- security_groups:
70
- - cf-public
71
- - cf-private
72
- - ssh
73
- name: cf2
74
- properties:
75
- login:
76
- protocol: http
77
- ssl:
78
- skip_cert_verify: true
79
- domain: (( meta.floating_static_ips.[0] "xip.io" ))
80
- loggregator_endpoint:
81
- shared_secret: 1p@ss4cf
82
- cc:
83
- bulk_api_password: 1p@ss4cf
84
- db_encryption_key: 1p@ss4cf
85
- staging_upload_password: upload-password
86
- staging_upload_user: upload-user
87
- databases:
88
- roles:
89
- - name: ccadmin
90
- password: ccadmin
91
- tag: admin
92
- - name: uaaadmin
93
- password: uaaadmin
94
- tag: admin
95
- ccdb:
96
- roles:
97
- - name: ccadmin
98
- password: ccadmin
99
- uaadb:
100
- roles:
101
- - name: uaaadmin
102
- password: uaaadmin
103
- uaa:
104
- admin:
105
- client_secret: 1p@ss4cf
106
- batch:
107
- password: 1p@ss4cf
108
- username: batch
109
- cc:
110
- client_secret: 1p@ss4cf
111
- clients:
112
- app-direct:
113
- secret: 1p@ss4cf
114
- developer_console:
115
- secret: 1p@ss4cf
116
- login:
117
- secret: 1p@ss4cf
118
- servicesmgmt:
119
- secret: 1p@ss4cf
120
- space-mail:
121
- secret: 1p@ss4cf
122
- support-services:
123
- secret: 1p@ss4cf
124
- jwt:
125
- signing_key: ! 'KEY
126
-
127
- KEY'
128
- verification_key: ! 'KEY
129
-
130
- KEY'
131
- scim:
132
- userids_enabled: false
133
- users:
134
- - admin|admin|scim.write,scim.read,openid,cloud_controller.admin,uaa.admin,password.write
135
- - services|1p@ss4cf|scim.write,scim.read,openid,cloud_controller.admin
136
- nats:
137
- password: nats
138
- user: nats
139
- dea_next:
140
- disk_mb: 10000
141
- memory_mb: 1024
142
- router:
143
- status:
144
- password: router
145
- user: router