train 1.4.9 → 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -13
- data/lib/train/transports/ssh.rb +4 -1
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 890a987a41248ad9564b6a4d321f94e86e1e60021691747f26652238c2d4fdea
|
|
4
|
+
data.tar.gz: 8e17748478727833fe58d85f8608ab255d6367d996f474ed4b230c522ab3f1b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: daa328bbe03443af4b13fe0d1f48d09c4669af0f70005cef642d95dc92dcb5097583543ae656ba0e8b805a9b301aaa93f322d150388ab0e4d7ebf098e5fecf60
|
|
7
|
+
data.tar.gz: 307f7ac05a516b78babebe068e3c86cbb616215ae391e3487bb9239246671c33d3b41115c483e14343c7e2e7db9b4bee8dedb3815149d353398290eaf979780b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
<!-- latest_release 1.4.
|
|
2
|
-
## [v1.4.
|
|
1
|
+
<!-- latest_release 1.4.10 -->
|
|
2
|
+
## [v1.4.10](https://github.com/chef/train/tree/v1.4.10) (2018-05-17)
|
|
3
3
|
|
|
4
4
|
#### Merged Pull Requests
|
|
5
|
-
-
|
|
5
|
+
- support sudo passwords for cisco [#301](https://github.com/chef/train/pull/301) ([arlimus](https://github.com/arlimus))
|
|
6
6
|
<!-- latest_release -->
|
|
7
7
|
|
|
8
|
-
<!-- release_rollup since=1.4.
|
|
9
|
-
### Changes since 1.4.
|
|
10
|
-
|
|
11
|
-
#### Bug Fixes
|
|
12
|
-
- Allow nil password and www_form_encoded_password to work together. [#297](https://github.com/chef/train/pull/297) ([marcparadise](https://github.com/marcparadise)) <!-- 1.4.6 -->
|
|
8
|
+
<!-- release_rollup since=1.4.9 -->
|
|
9
|
+
### Changes since 1.4.9 release
|
|
13
10
|
|
|
14
11
|
#### Merged Pull Requests
|
|
15
|
-
-
|
|
16
|
-
- Change Cisco IOS transport log level to INFO [#298](https://github.com/chef/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 1.4.8 -->
|
|
17
|
-
- Initial import of transport for GCP. [#283](https://github.com/chef/train/pull/283) ([skpaterson](https://github.com/skpaterson)) <!-- 1.4.7 -->
|
|
18
|
-
- Support encoded passwords in target url [#296](https://github.com/chef/train/pull/296) ([marcparadise](https://github.com/marcparadise)) <!-- 1.4.5 -->
|
|
12
|
+
- support sudo passwords for cisco [#301](https://github.com/chef/train/pull/301) ([arlimus](https://github.com/arlimus)) <!-- 1.4.10 -->
|
|
19
13
|
<!-- release_rollup -->
|
|
20
14
|
|
|
21
15
|
<!-- latest_stable_release -->
|
|
16
|
+
## [v1.4.9](https://github.com/chef/train/tree/v1.4.9) (2018-05-16)
|
|
17
|
+
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
- Allow nil password and www_form_encoded_password to work together. [#297](https://github.com/chef/train/pull/297) ([marcparadise](https://github.com/marcparadise))
|
|
20
|
+
|
|
21
|
+
#### Merged Pull Requests
|
|
22
|
+
- Support encoded passwords in target url [#296](https://github.com/chef/train/pull/296) ([marcparadise](https://github.com/marcparadise))
|
|
23
|
+
- Initial import of transport for GCP. [#283](https://github.com/chef/train/pull/283) ([skpaterson](https://github.com/skpaterson))
|
|
24
|
+
- Change Cisco IOS transport log level to INFO [#298](https://github.com/chef/train/pull/298) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
|
|
25
|
+
- 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
|
+
|
|
22
28
|
## [v1.4.4](https://github.com/chef/train/tree/v1.4.4) (2018-05-02)
|
|
23
29
|
|
|
24
30
|
#### Merged Pull Requests
|
|
25
31
|
- Enable expeditor release tasks [#294](https://github.com/chef/train/pull/294) ([jquick](https://github.com/jquick))
|
|
26
32
|
- Split train into a core gem. [#293](https://github.com/chef/train/pull/293) ([miah](https://github.com/miah))
|
|
27
|
-
<!-- latest_stable_release -->
|
|
28
33
|
|
|
29
34
|
|
|
30
35
|
|
data/lib/train/transports/ssh.rb
CHANGED
|
@@ -202,7 +202,10 @@ module Train::Transports
|
|
|
202
202
|
ios_options = {}
|
|
203
203
|
ios_options[:host] = @options[:host]
|
|
204
204
|
ios_options[:user] = @options[:user]
|
|
205
|
-
|
|
205
|
+
# The enable password is used to elevate privileges on Cisco devices
|
|
206
|
+
# We will also support the sudo password field for the same purpose
|
|
207
|
+
# for the interim. # TODO
|
|
208
|
+
ios_options[:enable_password] = @options[:enable_password] || @options[:sudo_password]
|
|
206
209
|
ios_options.merge!(@connection_options)
|
|
207
210
|
conn = CiscoIOSConnection.new(ios_options)
|
|
208
211
|
end
|
data/lib/train/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: train
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominik Richter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|