opsmgr-cgfrost 0.35.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/LEGAL.txt +13 -0
  3. data/README.md +123 -0
  4. data/lib/opsmgr.rb +12 -0
  5. data/lib/opsmgr/api/client.rb +116 -0
  6. data/lib/opsmgr/api/http_client.rb +399 -0
  7. data/lib/opsmgr/api/results.rb +280 -0
  8. data/lib/opsmgr/api/version20/endpoints.rb +121 -0
  9. data/lib/opsmgr/bosh_command_runner.rb +84 -0
  10. data/lib/opsmgr/cmd/bosh_command.rb +189 -0
  11. data/lib/opsmgr/cmd/ops_manager.rb +142 -0
  12. data/lib/opsmgr/environments.rb +106 -0
  13. data/lib/opsmgr/errand_runner.rb +62 -0
  14. data/lib/opsmgr/log.rb +70 -0
  15. data/lib/opsmgr/product_upload_wrapper.rb +71 -0
  16. data/lib/opsmgr/renderer.rb +23 -0
  17. data/lib/opsmgr/renderer/aws.rb +148 -0
  18. data/lib/opsmgr/renderer/noop.rb +21 -0
  19. data/lib/opsmgr/settings/microbosh/installation_settings.rb +84 -0
  20. data/lib/opsmgr/settings/microbosh/job.rb +56 -0
  21. data/lib/opsmgr/settings/microbosh/job_list.rb +27 -0
  22. data/lib/opsmgr/settings/microbosh/network.rb +21 -0
  23. data/lib/opsmgr/settings/microbosh/product.rb +90 -0
  24. data/lib/opsmgr/settings/microbosh/product_list.rb +27 -0
  25. data/lib/opsmgr/settings/microbosh/property.rb +33 -0
  26. data/lib/opsmgr/settings/microbosh/property_list.rb +27 -0
  27. data/lib/opsmgr/tasks.rb +16 -0
  28. data/lib/opsmgr/tasks/bosh.rake +104 -0
  29. data/lib/opsmgr/tasks/destroy.rake +42 -0
  30. data/lib/opsmgr/tasks/info.rake +19 -0
  31. data/lib/opsmgr/tasks/opsmgr.rake +205 -0
  32. data/lib/opsmgr/tasks/product.rake +82 -0
  33. data/lib/opsmgr/ui_helpers/add_first_user_spec.rb +25 -0
  34. data/lib/opsmgr/ui_helpers/config_helper.rb +38 -0
  35. data/lib/opsmgr/ui_helpers/delete_installation_spec.rb +41 -0
  36. data/lib/opsmgr/ui_helpers/delete_product_if_present_spec.rb +37 -0
  37. data/lib/opsmgr/ui_helpers/delete_product_spec.rb +39 -0
  38. data/lib/opsmgr/ui_helpers/export_installation_spec.rb +31 -0
  39. data/lib/opsmgr/ui_helpers/get_latest_install_log_spec.rb +29 -0
  40. data/lib/opsmgr/ui_helpers/import_stemcell_spec.rb +30 -0
  41. data/lib/opsmgr/ui_helpers/microbosh/configure_microbosh_spec.rb +32 -0
  42. data/lib/opsmgr/ui_helpers/post_import_configuration_spec.rb +31 -0
  43. data/lib/opsmgr/ui_helpers/revert_staged_changes_spec.rb +39 -0
  44. data/lib/opsmgr/ui_helpers/settings_helper.rb +132 -0
  45. data/lib/opsmgr/ui_helpers/trigger_install_spec.rb +35 -0
  46. data/lib/opsmgr/ui_helpers/ui_spec_runner.rb +122 -0
  47. data/lib/opsmgr/ui_helpers/uncheck_errands_spec.rb +29 -0
  48. data/lib/opsmgr/ui_helpers/upload_and_add_product_spec.rb +27 -0
  49. data/lib/opsmgr/ui_helpers/upload_and_upgrade_product_spec.rb +36 -0
  50. data/lib/opsmgr/version.rb +11 -0
  51. data/sample_env_files/aws.yml +95 -0
  52. data/sample_env_files/vsphere.yml +87 -0
  53. metadata +392 -0
@@ -0,0 +1,87 @@
1
+ ---
2
+ name: deer
3
+ iaas_type: vsphere
4
+ vm_shepherd:
5
+ vm_configs:
6
+ - vcenter_creds:
7
+ ip: 10.84.32.61
8
+ username: _VCENTER_USER_
9
+ password: _VCENTER_PASS_
10
+ vsphere:
11
+ host: vcenter
12
+ resource_pool: deer
13
+ datacenter: private
14
+ cluster: private
15
+ datastore: private
16
+ network: deer
17
+ folder: deer
18
+ cleanup:
19
+ datacenter: private
20
+ datastores:
21
+ - private
22
+ datacenter_folders_to_clean:
23
+ - deer
24
+ - deer_vms
25
+ - deer_templates
26
+ datastore_folders_to_clean:
27
+ - deer
28
+ - deer_disk
29
+ vm:
30
+ ip: 10.85.15.16
31
+ gateway: 10.85.15.1
32
+ netmask: 255.255.255.0
33
+ dns: 10.87.8.10,10.87.8.11
34
+ ntp_servers: time1.sf.cf-app.com
35
+ vm_password: _PASS_
36
+ ram_mb: 4096
37
+ ops_manager:
38
+ url: https://pcf.deer.wild.cf-app.com
39
+ username: _OM_USER_
40
+ password: _OM_PASS_
41
+ ntp_servers: time1.sf.cf-app.com
42
+ vcenter:
43
+ creds:
44
+ ip: 10.84.32.61
45
+ username: _VCENTER_USER_
46
+ password: _VCENTER_PASS_
47
+ datacenter: private
48
+ persistent_datastore: private
49
+ ephemeral_datastore: private
50
+ bosh_vm_folder: deer_vms
51
+ bosh_template_folder: deer_templates
52
+ bosh_disk_path: deer_disk
53
+ availability_zones:
54
+ - name: first-az
55
+ cluster: private
56
+ resource_pool: deer
57
+ networks:
58
+ - icmp_checks_enabled: false
59
+ - name: first-network
60
+ identifier: deer
61
+ subnet: 10.85.15.0/24
62
+ gateway: 10.85.15.1
63
+ reserved_ips: 10.85.15.0-10.85.15.90
64
+ dns: 10.87.8.10,10.87.8.11
65
+ subnets:
66
+ - identifier: deer
67
+ cidr: 10.85.15.0/24
68
+ gateway: 10.85.15.1
69
+ reserved_ips: 10.85.15.0-10.85.15.90
70
+ dns: 10.87.8.10,10.87.8.11
71
+ availability_zones: [first-az]
72
+
73
+ elastic_runtime:
74
+ name: cf
75
+ ha_proxy_static_ips: 10.85.15.254
76
+ system_domain: sys.deer.wild.cf-app.com
77
+ apps_domain: apps.deer.wild.cf-app.com
78
+ smtp:
79
+ from: identitystaging@mailinator.com
80
+ address: smtp.sendgrid.net
81
+ port: 587
82
+ credentials:
83
+ identity: _USER_
84
+ password: _PASS_
85
+ enable_starttls_auto: true
86
+ smtp_auth_mechanism: plain
87
+ trust_self_signed_certificates: true
metadata ADDED
@@ -0,0 +1,392 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opsmgr-cgfrost
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.35.9
5
+ platform: ruby
6
+ authors:
7
+ - Release Engineering
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: multipart-post
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sinatra
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: open4
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aws-sdk
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: recursive-open-struct
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.5.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.5.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: vm_shepherd
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 3.1.8
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.1.8
111
+ - !ruby/object:Gem::Dependency
112
+ name: ops_manager_ui_drivers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.24.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.24.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: mustache
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: capybara
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: capybara-webkit
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: bundler
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: bosh_cli
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: 1.3215.3
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 1.3215.3
209
+ - !ruby/object:Gem::Dependency
210
+ name: colorize
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: fakefs
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rubocop
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '0.39'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '0.39'
251
+ - !ruby/object:Gem::Dependency
252
+ name: webmock
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - '='
256
+ - !ruby/object:Gem::Version
257
+ version: 1.24.2
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - '='
263
+ - !ruby/object:Gem::Version
264
+ version: 1.24.2
265
+ - !ruby/object:Gem::Dependency
266
+ name: timecop
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: vcr
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: codeclimate-test-reporter
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ description: Shared tooling for teams maintaining Ops Manager tiles
308
+ email:
309
+ - cf-release-releng@pivotal.io
310
+ executables: []
311
+ extensions: []
312
+ extra_rdoc_files:
313
+ - sample_env_files/aws.yml
314
+ - sample_env_files/vsphere.yml
315
+ - LEGAL.txt
316
+ files:
317
+ - LEGAL.txt
318
+ - README.md
319
+ - lib/opsmgr.rb
320
+ - lib/opsmgr/api/client.rb
321
+ - lib/opsmgr/api/http_client.rb
322
+ - lib/opsmgr/api/results.rb
323
+ - lib/opsmgr/api/version20/endpoints.rb
324
+ - lib/opsmgr/bosh_command_runner.rb
325
+ - lib/opsmgr/cmd/bosh_command.rb
326
+ - lib/opsmgr/cmd/ops_manager.rb
327
+ - lib/opsmgr/environments.rb
328
+ - lib/opsmgr/errand_runner.rb
329
+ - lib/opsmgr/log.rb
330
+ - lib/opsmgr/product_upload_wrapper.rb
331
+ - lib/opsmgr/renderer.rb
332
+ - lib/opsmgr/renderer/aws.rb
333
+ - lib/opsmgr/renderer/noop.rb
334
+ - lib/opsmgr/settings/microbosh/installation_settings.rb
335
+ - lib/opsmgr/settings/microbosh/job.rb
336
+ - lib/opsmgr/settings/microbosh/job_list.rb
337
+ - lib/opsmgr/settings/microbosh/network.rb
338
+ - lib/opsmgr/settings/microbosh/product.rb
339
+ - lib/opsmgr/settings/microbosh/product_list.rb
340
+ - lib/opsmgr/settings/microbosh/property.rb
341
+ - lib/opsmgr/settings/microbosh/property_list.rb
342
+ - lib/opsmgr/tasks.rb
343
+ - lib/opsmgr/tasks/bosh.rake
344
+ - lib/opsmgr/tasks/destroy.rake
345
+ - lib/opsmgr/tasks/info.rake
346
+ - lib/opsmgr/tasks/opsmgr.rake
347
+ - lib/opsmgr/tasks/product.rake
348
+ - lib/opsmgr/ui_helpers/add_first_user_spec.rb
349
+ - lib/opsmgr/ui_helpers/config_helper.rb
350
+ - lib/opsmgr/ui_helpers/delete_installation_spec.rb
351
+ - lib/opsmgr/ui_helpers/delete_product_if_present_spec.rb
352
+ - lib/opsmgr/ui_helpers/delete_product_spec.rb
353
+ - lib/opsmgr/ui_helpers/export_installation_spec.rb
354
+ - lib/opsmgr/ui_helpers/get_latest_install_log_spec.rb
355
+ - lib/opsmgr/ui_helpers/import_stemcell_spec.rb
356
+ - lib/opsmgr/ui_helpers/microbosh/configure_microbosh_spec.rb
357
+ - lib/opsmgr/ui_helpers/post_import_configuration_spec.rb
358
+ - lib/opsmgr/ui_helpers/revert_staged_changes_spec.rb
359
+ - lib/opsmgr/ui_helpers/settings_helper.rb
360
+ - lib/opsmgr/ui_helpers/trigger_install_spec.rb
361
+ - lib/opsmgr/ui_helpers/ui_spec_runner.rb
362
+ - lib/opsmgr/ui_helpers/uncheck_errands_spec.rb
363
+ - lib/opsmgr/ui_helpers/upload_and_add_product_spec.rb
364
+ - lib/opsmgr/ui_helpers/upload_and_upgrade_product_spec.rb
365
+ - lib/opsmgr/version.rb
366
+ - sample_env_files/aws.yml
367
+ - sample_env_files/vsphere.yml
368
+ homepage:
369
+ licenses:
370
+ - No License
371
+ metadata: {}
372
+ post_install_message:
373
+ rdoc_options: []
374
+ require_paths:
375
+ - lib
376
+ required_ruby_version: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - ">="
379
+ - !ruby/object:Gem::Version
380
+ version: 2.3.0
381
+ required_rubygems_version: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - ">="
384
+ - !ruby/object:Gem::Version
385
+ version: '0'
386
+ requirements: []
387
+ rubyforge_project:
388
+ rubygems_version: 2.5.1
389
+ signing_key:
390
+ specification_version: 4
391
+ summary: Shared tooling for teams maintaining Ops Manager tiles
392
+ test_files: []