opsmgr 0.35.8 → 0.35.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1b01835b695f34a618a0cb581e85c519035322f
|
4
|
+
data.tar.gz: 289e3e7fec3bfa5e1873704ef7be97ad4e493674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adcb890d1683d722aa28048b9760043d7cf64b8b09547e4417fde3fbb4bc438c2825a175c2b207fcee914fd73de66c94b3f61db87f37baa702017ece26df3be8
|
7
|
+
data.tar.gz: 85cf599b1abf6c2c74307be6b9bcf04717a7291ff2e0269f5f5de97a5b25cd240bf78bd691b6c5b6826970975f009ddc36093c432c92a970086947a0dca1fa0e
|
@@ -131,7 +131,7 @@ module Opsmgr
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def director_tile_name
|
134
|
-
|
134
|
+
om_version.to_f >= 1.6 ? 'p-bosh' : 'microbosh'
|
135
135
|
end
|
136
136
|
|
137
137
|
def ops_manager_driver(om_version)
|
@@ -151,6 +151,8 @@ module Opsmgr
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
+
# rubocop:disable Style/VariableNumber
|
155
|
+
|
154
156
|
def om_1_4
|
155
157
|
@om_1_4 ||= create_web_ui(OpsManagerUiDrivers::Version14)
|
156
158
|
end
|
@@ -21,6 +21,17 @@ namespace :opsmgr do
|
|
21
21
|
shep.destroy
|
22
22
|
end
|
23
23
|
|
24
|
+
desc "- Clear our Resource Pool, deleting stemcells, all installed products' VMs (including Ops Mgr) without merging settings"
|
25
|
+
task :vms_raw, [:environment] do |_, args|
|
26
|
+
require 'opsmgr/environments'
|
27
|
+
require 'vm_shepherd'
|
28
|
+
|
29
|
+
env = Opsmgr::Environments.for(args.environment)
|
30
|
+
shep = VmShepherd::Shepherd.new(settings: env.settings)
|
31
|
+
shep.clean_environment
|
32
|
+
shep.destroy
|
33
|
+
end
|
34
|
+
|
24
35
|
desc '- Destroy Existing Ops Manager'
|
25
36
|
task :opsmgr, [:environment] do |_, args|
|
26
37
|
require 'opsmgr/environments'
|
@@ -19,6 +19,10 @@ RSpec.describe 'Configuring director', order: :defined do
|
|
19
19
|
product_dashboard = current_ops_manager.product_dashboard
|
20
20
|
product_dashboard.revert_pending_changes if product_dashboard.revert_available?
|
21
21
|
current_ops_manager.ops_manager_director.configure_bosh_product(env_settings)
|
22
|
+
|
23
|
+
if Gem::Version.new(om.version) >= Gem::Version.new('1.7')
|
24
|
+
current_ops_manager.ops_manager_director.configure_icmp_checks(env_settings['ops_manager']['icmp_checks_enabled'])
|
25
|
+
end
|
22
26
|
end
|
23
27
|
end
|
24
28
|
# Copyright (c) 2014-2015 Pivotal Software, Inc.
|
data/lib/opsmgr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opsmgr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.35.
|
4
|
+
version: 0.35.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Release Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -100,28 +100,28 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 3.
|
103
|
+
version: 3.3.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 3.
|
110
|
+
version: 3.3.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: ops_manager_ui_drivers
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.34.1
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.34.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mustache
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|