bosh-cloudfoundry 0.7.0.alpha.4 → 0.7.0.alpha.5

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.
Files changed (41) hide show
  1. data/bosh-cloudfoundry.gemspec +1 -1
  2. data/bosh_release/.final_builds/jobs/cloud_controller_ng/index.yml +5 -0
  3. data/bosh_release/.final_builds/jobs/collector/index.yml +5 -0
  4. data/bosh_release/.final_builds/jobs/dea_next/index.yml +5 -0
  5. data/bosh_release/.final_builds/jobs/health_manager_next/index.yml +5 -0
  6. data/bosh_release/.final_builds/jobs/login/index.yml +5 -0
  7. data/bosh_release/.final_builds/jobs/nats/index.yml +5 -0
  8. data/bosh_release/.final_builds/jobs/syslog_aggregator/index.yml +5 -0
  9. data/bosh_release/.final_builds/jobs/uaa/index.yml +5 -0
  10. data/bosh_release/.final_builds/packages/buildpack_cache/index.yml +5 -0
  11. data/bosh_release/.final_builds/packages/cloud_controller_ng/index.yml +5 -0
  12. data/bosh_release/.final_builds/packages/collector/index.yml +5 -0
  13. data/bosh_release/.final_builds/packages/dea_next/index.yml +5 -0
  14. data/bosh_release/.final_builds/packages/gorouter/index.yml +5 -0
  15. data/bosh_release/.final_builds/packages/login/index.yml +5 -0
  16. data/bosh_release/.final_builds/packages/uaa/index.yml +5 -0
  17. data/bosh_release/.final_builds/packages/warden/index.yml +5 -0
  18. data/bosh_release/releases/cf-release-133.yml +303 -0
  19. data/bosh_release/releases/index.yml +2 -0
  20. data/lib/bosh/cloudfoundry.rb +3 -0
  21. data/lib/bosh/cloudfoundry/release_version.rb +1 -1
  22. data/spec/assets/v132/aws/medium.yml +1 -1
  23. data/spec/assets/v133/aws/large.yml +393 -0
  24. data/spec/assets/v133/aws/medium.yml +361 -0
  25. data/spec/deployment_file_spec.rb +16 -8
  26. data/spec/plugin_spec.rb +1 -1
  27. data/spec/release_version_cpi_spec.rb +2 -2
  28. data/spec/release_version_spec.rb +3 -3
  29. data/templates/v132/aws/medium/deployment_file.yml.erb +4 -4
  30. data/templates/v133/aws/large/deployment_file.yml.erb +431 -0
  31. data/templates/v133/aws/large/spec +6 -0
  32. data/templates/v133/aws/medium/deployment_file.yml.erb +398 -0
  33. data/templates/v133/aws/medium/spec +6 -0
  34. data/templates/v133/aws/small/README.md +5 -0
  35. data/templates/v133/aws/spec +6 -0
  36. data/templates/v133/openstack/large/deployment_file.yml.erb +431 -0
  37. data/templates/v133/openstack/large/spec +6 -0
  38. data/templates/v133/openstack/medium/deployment_file.yml.erb +387 -0
  39. data/templates/v133/openstack/medium/spec +6 -0
  40. data/templates/v133/openstack/spec +6 -0
  41. metadata +18 -2
@@ -0,0 +1,6 @@
1
+ ---
2
+ resources:
3
+ - small
4
+ - medium
5
+ - large
6
+ - xlarge
@@ -0,0 +1,398 @@
1
+ ---
2
+ <%-
3
+ # Example source deployment file that can be used:
4
+ # ---
5
+ # name: NAME
6
+ # director_uuid: 4ae3a0f0-70a5-4c0d-95f2-7fafaefe8b9e
7
+ # releases:
8
+ # - name: cf-release
9
+ # version: 132
10
+ # networks: {}
11
+ # properties:
12
+ # cf:
13
+ # dns: mycloud.com
14
+ # ip_addresses: ['1.2.3.4']
15
+ # deployment_size: medium
16
+ # security_group: cf
17
+ # persistent_disk: 4096
18
+ #
19
+ # Then target that deployment file:
20
+ #
21
+ # $ bosh deployment path/to/file/above
22
+ #
23
+ # Then apply this template:
24
+ #
25
+ # $ bosh diff deployment_file.yml.erb
26
+ #
27
+ no_ssl = true
28
+ protocol = no_ssl ? "http" : "https"
29
+ name = find("name")
30
+ dns = find("properties.cf.dns")
31
+ ip_addresses = find("properties.cf.ip_addresses")
32
+ security_group = find("properties.cf.security_group")
33
+ deployment_size = find("properties.cf.deployment_size")
34
+ persistent_disk = find("properties.cf.persistent_disk")
35
+ common_password = find("properties.cf.common_password")
36
+ -%>
37
+ name: <%= name %>
38
+ director_uuid: <%= find("director_uuid") %>
39
+
40
+ releases:
41
+ - name: cf-release
42
+ version: <%= find("releases.version") %>
43
+
44
+ networks:
45
+ - name: floating
46
+ type: vip
47
+ cloud_properties: {}
48
+ - name: default
49
+ type: dynamic
50
+ cloud_properties:
51
+ security_groups:
52
+ - <%= security_group %>
53
+
54
+ update:
55
+ canaries: 1
56
+ canary_watch_time: 30000-600000
57
+ update_watch_time: 30000-600000
58
+ max_in_flight: 4
59
+ max_errors: 1
60
+
61
+ compilation:
62
+ workers: 6
63
+ network: default
64
+ reuse_compilation_vms: true
65
+ cloud_properties:
66
+ instance_type: m1.medium
67
+
68
+ resource_pools:
69
+ - name: small
70
+ network: default
71
+ size: 3
72
+ stemcell:
73
+ name: bosh-stemcell
74
+ version: latest
75
+ cloud_properties:
76
+ instance_type: m1.small
77
+
78
+ - name: medium
79
+ network: default
80
+ size: 2
81
+ stemcell:
82
+ name: bosh-stemcell
83
+ version: latest
84
+ cloud_properties:
85
+ instance_type: m1.medium
86
+
87
+ jobs:
88
+ - name: data
89
+ release: cf-release
90
+ template:
91
+ - postgres
92
+ - debian_nfs_server
93
+ instances: 1
94
+ resource_pool: small
95
+ persistent_disk: <%= persistent_disk %>
96
+ networks:
97
+ - name: default
98
+ default:
99
+ - dns
100
+ - gateway
101
+ properties:
102
+ db: databases
103
+
104
+ - name: core
105
+ release: cf-release
106
+ template:
107
+ - syslog_aggregator
108
+ - nats
109
+ - health_manager_next
110
+ - collector
111
+ - login
112
+ instances: 1
113
+ resource_pool: medium
114
+ networks:
115
+ - name: default
116
+ default:
117
+ - dns
118
+ - gateway
119
+
120
+ # need a separate job for uaa due to https://github.com/cloudfoundry/cf-release/issues/104
121
+ - name: uaa
122
+ release: cf-release
123
+ template:
124
+ - uaa
125
+ instances: 1
126
+ resource_pool: small
127
+ networks:
128
+ - name: default
129
+ default: [dns, gateway]
130
+
131
+ - name: api
132
+ release: cf-release
133
+ template:
134
+ - cloud_controller_ng
135
+ - gorouter
136
+ instances: 1
137
+ resource_pool: medium
138
+ networks:
139
+ - name: default
140
+ default:
141
+ - dns
142
+ - gateway
143
+ - name: floating
144
+ static_ips:
145
+ <%- ip_addresses.each do |ip| -%>
146
+ - <%= ip %>
147
+ <%- end -%>
148
+ properties:
149
+ db: databases
150
+
151
+ - name: dea
152
+ release: cf-release
153
+ template:
154
+ - dea_next
155
+ instances: 1
156
+ resource_pool: small
157
+ networks:
158
+ - name: default
159
+ default: [dns, gateway]
160
+
161
+ properties:
162
+ cf:
163
+ name: <%= name %>
164
+ dns: <%= dns %>
165
+ ip_addresses: <%= ip_addresses.inspect %>
166
+ deployment_size: <%= deployment_size %>
167
+ security_group: <%= security_group %>
168
+ persistent_disk: <%= persistent_disk %>
169
+ common_password: <%= common_password %>
170
+
171
+ domain: <%= dns %>
172
+ system_domain: <%= dns %>.com
173
+ system_domain_organization: system_domain
174
+ app_domains:
175
+ - <%= dns %>
176
+
177
+ networks:
178
+ apps: default
179
+ management: default
180
+
181
+ nats:
182
+ address: 0.core.default.<%= name %>.microbosh
183
+ port: 4222
184
+ user: nats
185
+ password: <%= common_password %>
186
+ authorization_timeout: 5
187
+
188
+ router:
189
+ port: 8081
190
+ status:
191
+ port: 8080
192
+ user: gorouter
193
+ password: <%= common_password %>
194
+
195
+ dea: &dea
196
+ max_memory: 4096
197
+ memory_mb: 4084
198
+ memory_overcommit_factor: 4
199
+ disk_mb: 4096
200
+ disk_overcommit_factor: 4
201
+
202
+ dea_next: *dea
203
+
204
+ service_lifecycle:
205
+ serialization_data_server:
206
+ - 0.core.default.<%= name %>.microbosh
207
+
208
+ syslog_aggregator:
209
+ address: 0.core.default.<%= name %>.microbosh
210
+ port: 54321
211
+
212
+ serialization_data_server:
213
+ port: 8080
214
+ logging_level: debug
215
+ upload_token: <%= common_password %>
216
+ upload_timeout: 10
217
+
218
+ collector:
219
+ deployment_name: cf
220
+ use_tsdb: false
221
+ use_aws_cloudwatch: false
222
+ use_datadog: false
223
+
224
+ nfs_server:
225
+ address: 0.data.default.<%= name %>.microbosh
226
+ #network: "*.<%= name %>.microbosh"
227
+ #idmapd_domain: <%= dns %>
228
+
229
+ debian_nfs_server:
230
+ no_root_squash: true
231
+
232
+ databases: &databases
233
+ db_scheme: postgres
234
+ address: 0.data.default.<%= name %>.microbosh
235
+ port: 5524
236
+ roles:
237
+ - tag: admin
238
+ name: ccadmin
239
+ password: <%= common_password %>
240
+ - tag: admin
241
+ name: uaaadmin
242
+ password: <%= common_password %>
243
+ databases:
244
+ - tag: cc
245
+ name: ccdb
246
+ citext: true
247
+ - tag: uaa
248
+ name: uaadb
249
+ citext: true
250
+
251
+ ccdb: &ccdb
252
+ db_scheme: postgres
253
+ address: 0.data.default.<%= name %>.microbosh
254
+ port: 5524
255
+ roles:
256
+ - tag: admin
257
+ name: ccadmin
258
+ password: <%= common_password %>
259
+ databases:
260
+ - tag: cc
261
+ name: ccdb
262
+ citext: true
263
+
264
+ ccdb_ng: *ccdb
265
+
266
+ uaadb:
267
+ db_scheme: postgresql
268
+ address: 0.data.default.<%= name %>.microbosh
269
+ port: 5524
270
+ roles:
271
+ - tag: admin
272
+ name: uaaadmin
273
+ password: <%= common_password %>
274
+ databases:
275
+ - tag: uaa
276
+ name: uaadb
277
+ citext: true
278
+
279
+ cc_api_version: v2
280
+
281
+ cc: &cc
282
+ logging_level: debug
283
+ external_host: ccng
284
+ srv_api_uri: <%= protocol %>://api.<%= dns %>
285
+ cc_partition: default
286
+ db_encryption_key: <%= common_password %>
287
+ bootstrap_admin_email: admin@<%= dns %>
288
+ bulk_api_password: <%= common_password %>
289
+ uaa_resource_id: cloud_controller
290
+ staging_upload_user: uploaduser
291
+ staging_upload_password: <%= common_password %>
292
+ resource_pool:
293
+ resource_directory_key: cc-resources
294
+ # Local provider when using NFS
295
+ fog_connection:
296
+ provider: Local
297
+ local_root: /var/vcap/shared
298
+ packages:
299
+ app_package_directory_key: cc-packages
300
+ droplets:
301
+ droplet_directory_key: cc-droplets
302
+
303
+ ccng: *cc
304
+
305
+ login:
306
+ protocol: <%= protocol %>
307
+ links:
308
+ home: <%= protocol %>://console.<%= dns %>
309
+ passwd: <%= protocol %>://console.<%= dns %>/password_resets/new
310
+ signup: <%= protocol %>://console.<%= dns %>/register
311
+
312
+ uaa:
313
+ url: <%= protocol %>://uaa.<%= dns %>
314
+ spring_profiles: postgresql
315
+ no_ssl: <%= no_ssl %>
316
+ catalina_opts: -Xmx768m -XX:MaxPermSize=256m
317
+ resource_id: account_manager
318
+ jwt:
319
+ signing_key: |
320
+ -----BEGIN RSA PRIVATE KEY-----
321
+ MIICXAIBAAKBgQDHFr+KICms+tuT1OXJwhCUmR2dKVy7psa8xzElSyzqx7oJyfJ1
322
+ JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMXqHxf+ZH9BL1gk9Y6kCnbM5R6
323
+ 0gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBugspULZVNRxq7veq/fzwIDAQAB
324
+ AoGBAJ8dRTQFhIllbHx4GLbpTQsWXJ6w4hZvskJKCLM/o8R4n+0W45pQ1xEiYKdA
325
+ Z/DRcnjltylRImBD8XuLL8iYOQSZXNMb1h3g5/UGbUXLmCgQLOUUlnYt34QOQm+0
326
+ KvUqfMSFBbKMsYBAoQmNdTHBaz3dZa8ON9hh/f5TT8u0OWNRAkEA5opzsIXv+52J
327
+ duc1VGyX3SwlxiE2dStW8wZqGiuLH142n6MKnkLU4ctNLiclw6BZePXFZYIK+AkE
328
+ xQ+k16je5QJBAN0TIKMPWIbbHVr5rkdUqOyezlFFWYOwnMmw/BKa1d3zp54VP/P8
329
+ +5aQ2d4sMoKEOfdWH7UqMe3FszfYFvSu5KMCQFMYeFaaEEP7Jn8rGzfQ5HQd44ek
330
+ lQJqmq6CE2BXbY/i34FuvPcKU70HEEygY6Y9d8J3o6zQ0K9SYNu+pcXt4lkCQA3h
331
+ jJQQe5uEGJTExqed7jllQ0khFJzLMx0K6tj0NeeIzAaGCQz13oo2sCdeGRHO4aDh
332
+ HH6Qlq/6UOV5wP8+GAcCQFgRCcB+hrje8hfEEefHcFpyKH+5g1Eu1k0mLrxK2zd+
333
+ 4SlotYRHgPCEubokb2S1zfZDWIXW3HmggnGgM949TlY=
334
+ -----END RSA PRIVATE KEY-----
335
+ verification_key: |
336
+ -----BEGIN PUBLIC KEY-----
337
+ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d
338
+ KVy7psa8xzElSyzqx7oJyfJ1JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMX
339
+ qHxf+ZH9BL1gk9Y6kCnbM5R60gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBug
340
+ spULZVNRxq7veq/fzwIDAQAB
341
+ -----END PUBLIC KEY-----
342
+ cc:
343
+ client_secret: <%= common_password %>
344
+ admin:
345
+ client_secret: <%= common_password %>
346
+ batch:
347
+ username: batchuser
348
+ password: <%= common_password %>
349
+ client:
350
+ autoapprove:
351
+ - cf
352
+ - my
353
+ - micro
354
+ - support-signon
355
+ - login
356
+ clients:
357
+ login:
358
+ override: true
359
+ scope: openid
360
+ authorities: oauth.login
361
+ secret: <%= common_password %>
362
+ authorized-grant-types: authorization_code,client_credentials,refresh_token
363
+ redirect-uri: <%= protocol %>://login.<%= dns %>
364
+ support-services:
365
+ scope: scim.write,scim.read,openid,cloud_controller.read,cloud_controller.write
366
+ secret: <%= common_password %>
367
+ authorized-grant-types: authorization_code,client_credentials
368
+ redirect-uri: <%= protocol %>://support-signon.<%= dns %>
369
+ authorities: portal.users.read
370
+ access-token-validity: 1209600
371
+ refresh-token-validity: 1209600
372
+ oauth2service:
373
+ secret: <%= common_password %>
374
+ scope: openid,cloud_controller.read,cloud_controller.write
375
+ authorities: uaa.resource,oauth.service,clients.read,clients.write,clients.secret
376
+ authorized-grant-types: client_credentials,implicit
377
+ redirect-uri: <%= protocol %>://rewritten-later.cloudfoundry.com/whatever
378
+ override: true
379
+ autoapprove: true
380
+ cf:
381
+ override: true
382
+ authorized-grant-types: password,implicit,refresh_token
383
+ authorities: uaa.none
384
+ scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write
385
+ access-token-validity: 7200
386
+ refresh-token-validity: 1209600
387
+ servicesmgmt:
388
+ override: true
389
+ secret: <%= common_password %>
390
+ scope: openid,cloud_controller.read,cloud_controller.write
391
+ authorities: uaa.resource,oauth.service,clients.read,clients.write,clients.secret
392
+ authorized-grant-types: authorization_code,client_credentials,password,implicit
393
+ redirect-uri: <%= protocol %>://servicesmgmt.mycloud.com/auth/cloudfoundry/callback
394
+ autoapprove: true
395
+ scim:
396
+ users:
397
+ - admin|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin
398
+ - services|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin
@@ -0,0 +1,6 @@
1
+ ---
2
+ resources:
3
+ - small
4
+ - medium
5
+ - large
6
+ - xlarge
@@ -0,0 +1,5 @@
1
+ # Small deployment of Cloud Foundry on AWS
2
+
3
+ The plan for a small deployment is to colocate everything on a single VM; and allow for scaling in one direction - more/bigger DEAs.
4
+
5
+ This cannot currently be implemented until a final release of [cf-release](https://github.com/cloudfoundry/cf-release) is published that includes `properties` in each job's `spec` file.
@@ -0,0 +1,6 @@
1
+ ---
2
+ deployment_sizes:
3
+ - medium
4
+ - large
5
+
6
+ default_deployment_size: medium
@@ -0,0 +1,431 @@
1
+ ---
2
+ <%-
3
+ # Example source deployment file that can be used:
4
+ # ---
5
+ # name: NAME
6
+ # director_uuid: 4ae3a0f0-70a5-4c0d-95f2-7fafaefe8b9e
7
+ # releases:
8
+ # - name: cf-release
9
+ # version: 132
10
+ # networks: {}
11
+ # properties:
12
+ # cf:
13
+ # dns: mycloud.com
14
+ # ip_addresses: ['1.2.3.4']
15
+ # deployment_size: medium
16
+ # security_group: cf
17
+ # persistent_disk: 4096
18
+ #
19
+ # Then target that deployment file:
20
+ #
21
+ # $ bosh deployment path/to/file/above
22
+ #
23
+ # Then apply this template:
24
+ #
25
+ # $ bosh diff deployment_file.yml.erb
26
+ #
27
+ name = find("name")
28
+ dns = find("properties.cf.dns")
29
+ ip_addresses = find("properties.cf.ip_addresses")
30
+ security_group = find("properties.cf.security_group")
31
+ deployment_size = find("properties.cf.deployment_size")
32
+ persistent_disk = find("properties.cf.persistent_disk")
33
+ common_password = find("properties.cf.common_password")
34
+ no_ssl = true
35
+ protocol = no_ssl ? "http" : "https"
36
+ -%>
37
+ name: <%= name %>
38
+ director_uuid: <%= find("director_uuid") %>
39
+
40
+ releases:
41
+ - name: cf-release
42
+ version: <%= find("releases.version") %>
43
+
44
+ networks:
45
+ - name: floating
46
+ type: vip
47
+ cloud_properties: {}
48
+ - name: default
49
+ type: dynamic
50
+ cloud_properties:
51
+ security_groups:
52
+ - <%= security_group %>
53
+
54
+ compilation:
55
+ workers: 6
56
+ network: default
57
+ reuse_compilation_vms: true
58
+ cloud_properties:
59
+ instance_type: m1.medium
60
+
61
+ update:
62
+ canaries: 1
63
+ canary_watch_time: 30000-600000
64
+ update_watch_time: 30000-600000
65
+ max_in_flight: 4
66
+ max_errors: 1
67
+
68
+ resource_pools:
69
+ - name: small
70
+ network: default
71
+ size: 9
72
+ stemcell:
73
+ name: bosh-stemcell
74
+ version: latest
75
+ cloud_properties:
76
+ instance_type: m1.small
77
+
78
+ - name: large
79
+ network: default
80
+ size: 1
81
+ stemcell:
82
+ name: bosh-stemcell
83
+ version: latest
84
+ cloud_properties:
85
+ instance_type: m1.large
86
+
87
+ jobs:
88
+ - name: syslog_aggregator
89
+ release: cf-release
90
+ template:
91
+ - syslog_aggregator
92
+ instances: 1
93
+ resource_pool: small
94
+ persistent_disk: 65536
95
+ networks:
96
+ - name: default
97
+ default: [dns, gateway]
98
+
99
+ - name: postgres
100
+ release: cf-release
101
+ template:
102
+ - postgres
103
+ instances: 1
104
+ resource_pool: small
105
+ persistent_disk: 65536
106
+ networks:
107
+ - name: default
108
+ default: [dns, gateway]
109
+ properties:
110
+ db: databases
111
+
112
+ - name: nfs_server
113
+ release: cf-release
114
+ template:
115
+ - debian_nfs_server
116
+ instances: 1
117
+ resource_pool: small
118
+ persistent_disk: 65536
119
+ networks:
120
+ - name: default
121
+ default: [dns, gateway]
122
+
123
+ - name: nats
124
+ release: cf-release
125
+ template:
126
+ - nats
127
+ instances: 1
128
+ resource_pool: small
129
+ networks:
130
+ - name: default
131
+ default: [dns, gateway]
132
+
133
+ - name: uaa
134
+ release: cf-release
135
+ template:
136
+ - uaa
137
+ instances: 1
138
+ resource_pool: small
139
+ networks:
140
+ - name: default
141
+ default: [dns, gateway]
142
+
143
+ - name: login
144
+ release: cf-release
145
+ template:
146
+ - login
147
+ instances: 1
148
+ resource_pool: small
149
+ networks:
150
+ - name: default
151
+ default: [dns, gateway]
152
+
153
+ - name: cloud_controller
154
+ release: cf-release
155
+ template:
156
+ - cloud_controller_ng
157
+ instances: 1
158
+ resource_pool: small
159
+ networks:
160
+ - name: default
161
+ default: [dns, gateway]
162
+ properties:
163
+ ccdb: ccdb
164
+
165
+ - name: router
166
+ release: cf-release
167
+ template:
168
+ - gorouter
169
+ instances: 1
170
+ resource_pool: small
171
+ networks:
172
+ - name: default
173
+ default: [dns, gateway]
174
+ - name: floating
175
+ static_ips:
176
+ <%- ip_addresses.each do |ip| -%>
177
+ - <%= ip %>
178
+ <%- end -%>
179
+
180
+ - name: health_manager
181
+ release: cf-release
182
+ template:
183
+ - health_manager_next
184
+ instances: 1
185
+ resource_pool: small
186
+ networks:
187
+ - name: default
188
+ default: [dns, gateway]
189
+
190
+ - name: dea
191
+ release: cf-release
192
+ template: dea_next
193
+ instances: 1
194
+ resource_pool: large
195
+ networks:
196
+ - name: default
197
+ default: [dns, gateway]
198
+
199
+ properties:
200
+ cf:
201
+ name: <%= name %>
202
+ dns: <%= dns %>
203
+ ip_addresses: <%= ip_addresses.inspect %>
204
+ deployment_size: <%= deployment_size %>
205
+ security_group: <%= security_group %>
206
+ persistent_disk: <%= persistent_disk %>
207
+ common_password: <%= common_password %>
208
+
209
+ domain: <%= dns %>
210
+ system_domain: <%= dns %>
211
+ system_domain_organization: <%= dns %>
212
+ app_domains:
213
+ - <%= dns %>
214
+
215
+ networks:
216
+ apps: default
217
+ management: default
218
+
219
+ nats:
220
+ address: 0.nats.default.<%= name %>.microbosh
221
+ port: 4222
222
+ user: nats
223
+ password: <%= common_password %>
224
+ authorization_timeout: 5
225
+
226
+ router:
227
+ port: 8081
228
+ status:
229
+ port: 8080
230
+ user: gorouter
231
+ password: <%= common_password %>
232
+
233
+ dea: &dea
234
+ max_memory: 4096
235
+ memory_mb: 4096
236
+ memory_overcommit_factor: 4
237
+ disk_mb: 16384
238
+ disk_overcommit_factor: 4
239
+
240
+ dea_next: *dea
241
+
242
+ service_lifecycle:
243
+ serialization_data_server:
244
+ - 169.254.1.1
245
+
246
+ syslog_aggregator:
247
+ address: 0.syslog-aggregator.default.<%= name %>.microbosh
248
+ port: 54321
249
+
250
+ serialization_data_server:
251
+ port: 8080
252
+ logging_level: debug
253
+ upload_token: <%= common_password %>
254
+ upload_timeout: 10
255
+
256
+ nfs_server:
257
+ address: 0.nfs-server.default.<%= name %>.microbosh
258
+ network: "*.<%= name %>.microbosh"
259
+ idmapd_domain: <%= dns %>
260
+
261
+ debian_nfs_server:
262
+ no_root_squash: true
263
+
264
+ databases: &databases
265
+ db_scheme: postgres
266
+ address: 0.postgres.default.<%= name %>.microbosh
267
+ port: 5524
268
+ roles:
269
+ - tag: admin
270
+ name: ccadmin
271
+ password: <%= common_password %>
272
+ - tag: admin
273
+ name: uaaadmin
274
+ password: <%= common_password %>
275
+ databases:
276
+ - tag: cc
277
+ name: ccdb
278
+ citext: true
279
+ - tag: uaa
280
+ name: uaadb
281
+ citext: true
282
+
283
+ ccdb: &ccdb
284
+ db_scheme: postgres
285
+ address: 0.postgres.default.<%= name %>.microbosh
286
+ port: 5524
287
+ roles:
288
+ - tag: admin
289
+ name: ccadmin
290
+ password: <%= common_password %>
291
+ databases:
292
+ - tag: cc
293
+ name: ccdb
294
+ citext: true
295
+
296
+ ccdb_ng: *ccdb
297
+
298
+ uaadb:
299
+ db_scheme: postgresql
300
+ address: 0.postgres.default.<%= name %>.microbosh
301
+ port: 5524
302
+ roles:
303
+ - tag: admin
304
+ name: uaaadmin
305
+ password: <%= common_password %>
306
+ databases:
307
+ - tag: uaa
308
+ name: uaadb
309
+ citext: true
310
+
311
+ cc_api_version: v2
312
+
313
+ cc: &cc
314
+ logging_level: debug
315
+ external_host: ccng
316
+ srv_api_uri: <%= protocol %>://api.<%= dns %>
317
+ cc_partition: default
318
+ db_encryption_key: <%= common_password %>
319
+ bootstrap_admin_email: admin@<%= dns %>
320
+ bulk_api_password: <%= common_password %>
321
+ uaa_resource_id: cloud_controller
322
+ staging_upload_user: uploaduser
323
+ staging_upload_password: <%= common_password %>
324
+ resource_pool:
325
+ resource_directory_key: cc-resources
326
+ # Local provider when using NFS
327
+ fog_connection:
328
+ provider: Local
329
+ local_root: /var/vcap/shared
330
+ packages:
331
+ app_package_directory_key: cc-packages
332
+ droplets:
333
+ droplet_directory_key: cc-droplets
334
+
335
+ ccng: *cc
336
+
337
+ login:
338
+ protocol: <%= protocol %>
339
+ links:
340
+ home: <%= protocol %>://console.<%= dns %>
341
+ passwd: <%= protocol %>://console.<%= dns %>/password_resets/new
342
+ signup: <%= protocol %>://console.<%= dns %>/register
343
+
344
+ uaa:
345
+ url: <%= protocol %>://uaa.<%= dns %>
346
+ spring_profiles: postgresql
347
+ no_ssl: <%= no_ssl %>
348
+ catalina_opts: -Xmx768m -XX:MaxPermSize=256m
349
+ resource_id: account_manager
350
+ jwt:
351
+ signing_key: |
352
+ -----BEGIN RSA PRIVATE KEY-----
353
+ MIICXAIBAAKBgQDHFr+KICms+tuT1OXJwhCUmR2dKVy7psa8xzElSyzqx7oJyfJ1
354
+ JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMXqHxf+ZH9BL1gk9Y6kCnbM5R6
355
+ 0gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBugspULZVNRxq7veq/fzwIDAQAB
356
+ AoGBAJ8dRTQFhIllbHx4GLbpTQsWXJ6w4hZvskJKCLM/o8R4n+0W45pQ1xEiYKdA
357
+ Z/DRcnjltylRImBD8XuLL8iYOQSZXNMb1h3g5/UGbUXLmCgQLOUUlnYt34QOQm+0
358
+ KvUqfMSFBbKMsYBAoQmNdTHBaz3dZa8ON9hh/f5TT8u0OWNRAkEA5opzsIXv+52J
359
+ duc1VGyX3SwlxiE2dStW8wZqGiuLH142n6MKnkLU4ctNLiclw6BZePXFZYIK+AkE
360
+ xQ+k16je5QJBAN0TIKMPWIbbHVr5rkdUqOyezlFFWYOwnMmw/BKa1d3zp54VP/P8
361
+ +5aQ2d4sMoKEOfdWH7UqMe3FszfYFvSu5KMCQFMYeFaaEEP7Jn8rGzfQ5HQd44ek
362
+ lQJqmq6CE2BXbY/i34FuvPcKU70HEEygY6Y9d8J3o6zQ0K9SYNu+pcXt4lkCQA3h
363
+ jJQQe5uEGJTExqed7jllQ0khFJzLMx0K6tj0NeeIzAaGCQz13oo2sCdeGRHO4aDh
364
+ HH6Qlq/6UOV5wP8+GAcCQFgRCcB+hrje8hfEEefHcFpyKH+5g1Eu1k0mLrxK2zd+
365
+ 4SlotYRHgPCEubokb2S1zfZDWIXW3HmggnGgM949TlY=
366
+ -----END RSA PRIVATE KEY-----
367
+ verification_key: |
368
+ -----BEGIN PUBLIC KEY-----
369
+ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d
370
+ KVy7psa8xzElSyzqx7oJyfJ1JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMX
371
+ qHxf+ZH9BL1gk9Y6kCnbM5R60gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBug
372
+ spULZVNRxq7veq/fzwIDAQAB
373
+ -----END PUBLIC KEY-----
374
+ cc:
375
+ client_secret: <%= common_password %>
376
+ admin:
377
+ client_secret: <%= common_password %>
378
+ batch:
379
+ username: batch
380
+ password: <%= common_password %>
381
+ client:
382
+ autoapprove:
383
+ - cf
384
+ - my
385
+ - portal
386
+ - micro
387
+ - support-signon
388
+ - login
389
+ clients:
390
+ login:
391
+ override: true
392
+ scope: openid
393
+ authorities: oauth.login
394
+ secret: <%= common_password %>
395
+ authorized-grant-types: authorization_code,client_credentials,refresh_token
396
+ redirect-uri: <%= protocol %>://login.<%= dns %>
397
+ support-services:
398
+ scope: scim.write,scim.read,openid,cloud_controller.read,cloud_controller.write
399
+ secret: <%= common_password %>
400
+ authorized-grant-types: authorization_code,client_credentials
401
+ redirect-uri: <%= protocol %>://support-signon.<%= dns %>
402
+ authorities: portal.users.read
403
+ access-token-validity: 1209600
404
+ refresh-token-validity: 1209600
405
+ oauth2service:
406
+ secret: <%= common_password %>
407
+ scope: openid,cloud_controller.read,cloud_controller.write
408
+ authorities: uaa.resource,oauth.service,clients.read,clients.write,clients.secret
409
+ authorized-grant-types: client_credentials,implicit
410
+ redirect-uri: <%= protocol %>://rewritten-later.cloudfoundry.com/whatever
411
+ override: true
412
+ autoapprove: true
413
+ cf:
414
+ override: true
415
+ authorized-grant-types: password,implicit,refresh_token
416
+ authorities: uaa.none
417
+ scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write
418
+ access-token-validity: 7200
419
+ refresh-token-validity: 1209600
420
+ servicesmgmt:
421
+ override: true
422
+ secret: <%= common_password %>
423
+ scope: openid,cloud_controller.read,cloud_controller.write
424
+ authorities: uaa.resource,oauth.service,clients.read,clients.write,clients.secret
425
+ authorized-grant-types: authorization_code,client_credentials,password,implicit
426
+ redirect-uri: <%= protocol %>://servicesmgmt.<%= dns %>/auth/cloudfoundry/callback
427
+ autoapprove: true
428
+ scim:
429
+ users:
430
+ - admin|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin
431
+ - services|<%= common_password %>|scim.write,scim.read,openid,cloud_controller.admin