opsmgr 0.35.0 → 0.35.1

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: ca696e7ad3249c492938d74081bed1c0468facf3
4
- data.tar.gz: f956fc8554c0813074e136393c2f24540b2e42ce
3
+ metadata.gz: 3c761a9434f65e89f7f928b7ae7da104a2cb152e
4
+ data.tar.gz: 9dedbf775cbd25cebbb3865364a50eefb25110fa
5
5
  SHA512:
6
- metadata.gz: 15930d93119619efd355760a730d8cdc42508a9cc4db5ef5984497223bebb2e084509d4e71199fa83d38b174016c3aa3e99ad396a9a85846eee9943ca4a4942b
7
- data.tar.gz: 90747e6c6fb919ebd69c98f85ea90b4eb20a0da8450f7a5da17fea67703839c5b465a01c813da01025ec38f594e243cc441690d9aabd6a1ed398fca0c4cc1f1b
6
+ metadata.gz: f8fc4f9d195d7075c1c696b7916d049811c046fe4240e7b2020411383fcef14f6865fc5c2984f66a518cd9a778f5e0e8c29c4708bc492706e17f484450f1c171
7
+ data.tar.gz: c728ebf2e7ede6affdbdc94badd2c37b7eacc2adbb8e7c4dcabacecd1717dd1321ac78a6dc2071372fe4c28e029ee07c84cadd209dac44cca23bcab077b6c813
@@ -140,7 +140,6 @@ module Opsmgr
140
140
  om_1_6
141
141
  when '1.7'
142
142
  om_1_7
143
- else
144
143
  when '1.8'
145
144
  om_1_8
146
145
  else
@@ -177,7 +177,8 @@ namespace :opsmgr do
177
177
  logger: logger,
178
178
  product_name: args.product_name,
179
179
  errand_name: args.errand_name,
180
- download_logs: args.with_defaults(download_logs: false)).run_errand
180
+ download_logs: args.with_defaults(download_logs: false)
181
+ ).run_errand
181
182
  end
182
183
  end
183
184
  # Copyright (c) 2014-2015 Pivotal Software, Inc.
@@ -48,17 +48,18 @@ module SettingsHelper
48
48
  fail 'Include OpsManagerUiDrivers::PageHelpers' unless respond_to? :fetch_environment_settings
49
49
 
50
50
  configure_capybara(fetch_environment_settings['ops_manager']['url'])
51
+ ops_manager_url = fetch_environment_settings['ops_manager']['url']
51
52
  case om_version
52
53
  when '1.4'
53
- om_1_4(fetch_environment_settings['ops_manager']['url'])
54
+ om_1_4(ops_manager_url)
54
55
  when '1.5'
55
- om_1_5(fetch_environment_settings['ops_manager']['url'])
56
+ om_1_5(ops_manager_url)
56
57
  when '1.6'
57
- om_1_6(fetch_environment_settings['ops_manager']['url'])
58
+ om_1_6(ops_manager_url)
58
59
  when '1.7'
59
- om_1_7(fetch_environment_settings['ops_manager']['url'])
60
+ om_1_7(ops_manager_url)
60
61
  when '1.8'
61
- om_1_8(fetch_environment_settings['ops_manager']['url'])
62
+ om_1_8(ops_manager_url)
62
63
  else
63
64
  fail "Unsupported Ops Manager Version #{om_version.inspect}"
64
65
  end
@@ -93,6 +94,12 @@ module SettingsHelper
93
94
  username: env_settings['ops_manager']['username'],
94
95
  password: env_settings['ops_manager']['password'],
95
96
  )
97
+ when '1.8'
98
+ api_1_8(
99
+ host: env_settings['ops_manager']['url'],
100
+ username: env_settings['ops_manager']['username'],
101
+ password: env_settings['ops_manager']['password'],
102
+ )
96
103
  else
97
104
  fail "Unsupported Ops Manager Version #{om_version.inspect}"
98
105
  end
@@ -1,5 +1,5 @@
1
1
  module Opsmgr
2
- VERSION = '0.35.0'.freeze
2
+ VERSION = '0.35.1'.freeze
3
3
  end
4
4
  # Copyright (c) 2014-2015 Pivotal Software, Inc.
5
5
  # All rights reserved.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsmgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Release Engineering