train 1.4.10 → 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -7
- data/lib/train/transports/azure.rb +3 -2
- data/lib/train/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6286b3582330ddddd3d2eefb05547a5a8762bb8cc213f42c61a7ce50a053df98
|
4
|
+
data.tar.gz: b9bcba134f4365243958c5f2456512f72c59fc769d43516ac22ef298bb9789e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecfa278786d83430a228b1a8a67cb187957147e87617f93583c85867177ccdd23a14417f32fb659cbc8470752d50e8a11a65b32b5226c7fc0ef8d0812e509e24
|
7
|
+
data.tar.gz: a3a08fd6a68c9722f6daa5bc7840a2ebe7dee6e01d3826170c597426a9460a4258b4d1d179bcd32a93a575578c113c20be631c43d07b378f3a05eaaa2167718b
|
data/CHANGELOG.md
CHANGED
@@ -1,18 +1,24 @@
|
|
1
|
-
<!-- latest_release 1.4.
|
2
|
-
## [v1.4.
|
1
|
+
<!-- latest_release 1.4.11 -->
|
2
|
+
## [v1.4.11](https://github.com/chef/train/tree/v1.4.11) (2018-05-17)
|
3
3
|
|
4
4
|
#### Merged Pull Requests
|
5
|
-
-
|
5
|
+
- Add required env for azure shell msi headers [#302](https://github.com/chef/train/pull/302) ([jquick](https://github.com/jquick))
|
6
6
|
<!-- latest_release -->
|
7
7
|
|
8
|
-
<!-- release_rollup since=1.4.
|
9
|
-
### Changes since 1.4.
|
8
|
+
<!-- release_rollup since=1.4.10 -->
|
9
|
+
### Changes since 1.4.10 release
|
10
10
|
|
11
11
|
#### Merged Pull Requests
|
12
|
-
-
|
12
|
+
- Add required env for azure shell msi headers [#302](https://github.com/chef/train/pull/302) ([jquick](https://github.com/jquick)) <!-- 1.4.11 -->
|
13
13
|
<!-- release_rollup -->
|
14
14
|
|
15
15
|
<!-- latest_stable_release -->
|
16
|
+
## [v1.4.10](https://github.com/chef/train/tree/v1.4.10) (2018-05-17)
|
17
|
+
|
18
|
+
#### Merged Pull Requests
|
19
|
+
- support sudo passwords for cisco [#301](https://github.com/chef/train/pull/301) ([arlimus](https://github.com/arlimus))
|
20
|
+
<!-- latest_stable_release -->
|
21
|
+
|
16
22
|
## [v1.4.9](https://github.com/chef/train/tree/v1.4.9) (2018-05-16)
|
17
23
|
|
18
24
|
#### Bug Fixes
|
@@ -23,7 +29,6 @@
|
|
23
29
|
- Initial import of transport for GCP. [#283](https://github.com/chef/train/pull/283) ([skpaterson](https://github.com/skpaterson))
|
24
30
|
- Change Cisco IOS transport log level to INFO [#298](https://github.com/chef/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
|
25
31
|
- Unpin google-protobuf now that we are building it as a gem [#300](https://github.com/chef/train/pull/300) ([scotthain](https://github.com/scotthain))
|
26
|
-
<!-- latest_stable_release -->
|
27
32
|
|
28
33
|
## [v1.4.4](https://github.com/chef/train/tree/v1.4.4) (2018-05-02)
|
29
34
|
|
@@ -23,7 +23,7 @@ module Train::Transports
|
|
23
23
|
@connection ||= Connection.new(@options)
|
24
24
|
end
|
25
25
|
|
26
|
-
class Connection < BaseConnection
|
26
|
+
class Connection < BaseConnection # rubocop:disable Metrics/ClassLength
|
27
27
|
attr_reader :options
|
28
28
|
|
29
29
|
def initialize(options)
|
@@ -62,7 +62,8 @@ module Train::Transports
|
|
62
62
|
|
63
63
|
def connect
|
64
64
|
if @options[:client_id].nil? && @options[:client_secret].nil? && port_open?(@options[:msi_port])
|
65
|
-
#
|
65
|
+
# this needs set for azure cloud to authenticate
|
66
|
+
ENV['MSI_VM'] = 'true'
|
66
67
|
provider = ::MsRestAzure::MSITokenProvider.new(@options[:msi_port])
|
67
68
|
else
|
68
69
|
provider = ::MsRestAzure::ApplicationTokenProvider.new(
|
data/lib/train/version.rb
CHANGED