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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3d410f8f4abbff124cdff2ffd9b15d0f8b24410
4
- data.tar.gz: 6a3eda4d7544fa72a16c327ebb6bf1876ac90074
3
+ metadata.gz: 31d8448b456391d592198824598b9cda0da6e298
4
+ data.tar.gz: 2671def06e47429777d17434808505061a59ac7d
5
5
  SHA512:
6
- metadata.gz: a5ac0eb7e7dba197de213665d16d17977dd4ba2ca4df39ba1a7b7b3011e8e9451c7c7e5f72f8eddd43281790f7853823b77b761f8170d065feb3bc86c92a50be
7
- data.tar.gz: 27a3eb527eedac0a6d3c75111d15097ecfa4ca003380ce8c681ecd68ee47f2a011463aa45b55f8dc695051346f814840f06959fe3dab925135b57aacb48483b1
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
- add_auth_header(req)
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
 
@@ -1,5 +1,5 @@
1
1
  module Opsmgr
2
- VERSION = '0.34.1'
2
+ VERSION = '0.34.2'
3
3
  end
4
4
  # Copyright (c) 2014-2015 Pivotal Software, Inc.
5
5
  # All rights reserved.
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.1
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-02 00:00:00.000000000 Z
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.4.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.4.2
124
+ version: 2.6.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: mustache
127
127
  requirement: !ruby/object:Gem::Requirement