opsmgr 0.34.1 → 0.34.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opsmgr/api/http_client.rb +3 -1
- data/lib/opsmgr/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31d8448b456391d592198824598b9cda0da6e298
|
4
|
+
data.tar.gz: 2671def06e47429777d17434808505061a59ac7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3714fffbd6b9278c4b5e725eb3565afe840688598d9693a31b2957fd56fcadaf24c367663c8a9df677cc2ff511df3481c930500ff97b1fbac1e6e26beccf2a0e
|
7
|
+
data.tar.gz: 4c64c27f07945223ff9504dd3c0374a7ad6840977c53e67ed595c16067f350e05d19ddef8726118d5985ad56dee01eed6ea1c5bfa091dce7c1a16514638738f2
|
@@ -194,6 +194,7 @@ module Opsmgr
|
|
194
194
|
def import_installation(installation_file, password)
|
195
195
|
create_the_first_user unless Gem::Version.new(@om_version) >= Gem::Version.new('1.7')
|
196
196
|
|
197
|
+
log.info('uploading the installation file')
|
197
198
|
req = Net::HTTP::Post::Multipart.new(
|
198
199
|
endpoints.import_installation_path,
|
199
200
|
'installation[file]' =>
|
@@ -205,7 +206,8 @@ module Opsmgr
|
|
205
206
|
import_secret_parameter_name => password
|
206
207
|
)
|
207
208
|
|
208
|
-
|
209
|
+
# The post-1.7 import happens before a user has been created so we cannot authenticate.
|
210
|
+
add_auth_header(req) unless Gem::Version.new(@om_version) >= Gem::Version.new('1.7')
|
209
211
|
|
210
212
|
response = http.request(req)
|
211
213
|
|
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.34.
|
4
|
+
version: 0.34.2
|
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-03-
|
11
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -112,16 +112,16 @@ dependencies:
|
|
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.6.0
|
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.6.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mustache
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|