chef-provisioning 2.7.1 → 2.7.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
  SHA256:
3
- metadata.gz: cfc46c1dc816fa771ea72dfdc5c87fc90152464e08b7034db819d24748cc2e76
4
- data.tar.gz: fc975cd3229d0b85e7b813acb82af8c482a0ec5139615ce8d8ba737bc2b8687a
3
+ metadata.gz: 8119a3a7334c0b431027a3c5415dbce75ca55211b2e0508058cc6341e2dda371
4
+ data.tar.gz: eb8bf1fb50a725bc92f217db858704c4fe920dcb3c3319de3edd7b7cbb9ee128
5
5
  SHA512:
6
- metadata.gz: 487db99bc75913d3391b2a0a0d7fac33cde696ad8c316a74da22c8c00ba02547c6ea22bbb13e10d750592f1556df23a7a42055554e181a33b5e9464e91ba916b
7
- data.tar.gz: a88b9a185635c06cce23988b0e9efd0201ee2ccbd5ac744a36d75619ac322b2c9dcb0af97a476773ecfcf3e516482cd342b843c635d3eb2556eb52b556dfdc7b
6
+ metadata.gz: 4322aab3eab7d93cb15b8285ad7b08a211a65e998f624e90650bc7e7405b2f2f9be8d46dabb0c4706a5a0f8e52222db12e35a5979270a9b70ea74c9e72a4748b
7
+ data.tar.gz: cc78a90192109653847153096a1bbbb767a59444b83f184fd6c000ca1c009f2fccbdf8de8360cd86f5c80796c250169430f88ae4f4f4661286bf3590d6b265e6
@@ -1,7 +1,29 @@
1
1
  # Change Log
2
2
 
3
- ## [2.7.0](https://github.com/chef/chef-provisioning/tree/2.7.0) (2018-01-25)
4
- [Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.6.0...2.7.0)
3
+ ## [2.7.2](https://github.com/chef/chef-provisioning/tree/2.7.2) (2018-05-31)
4
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.7.1...2.7.2)
5
+
6
+ **Closed issues:**
7
+
8
+ - winrm available? function exception when using SSL [\#605](https://github.com/chef/chef-provisioning/issues/605)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - Fix machine execute [\#612](https://github.com/chef/chef-provisioning/pull/612) ([jjlimepoint](https://github.com/jjlimepoint))
13
+ - Add Errno::ECONNABORTED to the list of rescued errors in the available? function [\#606](https://github.com/chef/chef-provisioning/pull/606) ([lomeroe](https://github.com/lomeroe))
14
+
15
+ ## [v2.7.1](https://github.com/chef/chef-provisioning/tree/v2.7.1) (2018-04-24)
16
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.7.0...v2.7.1)
17
+
18
+ **Merged pull requests:**
19
+
20
+ - bump cheffish dep to allow 14.x [\#611](https://github.com/chef/chef-provisioning/pull/611) ([lamont-granquist](https://github.com/lamont-granquist))
21
+ - make ssh port forward options continue to work on retry [\#607](https://github.com/chef/chef-provisioning/pull/607) ([jjlimepoint](https://github.com/jjlimepoint))
22
+ - Test on Ruby 2.4.3 in Travis [\#604](https://github.com/chef/chef-provisioning/pull/604) ([tas50](https://github.com/tas50))
23
+ - Add options hash to 'with\_chef\_server' example [\#588](https://github.com/chef/chef-provisioning/pull/588) ([gregsher88](https://github.com/gregsher88))
24
+
25
+ ## [v2.7.0](https://github.com/chef/chef-provisioning/tree/v2.7.0) (2018-01-26)
26
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.6.0...v2.7.0)
5
27
 
6
28
  **Merged pull requests:**
7
29
 
@@ -990,4 +1012,4 @@
990
1012
  ## [v0.1](https://github.com/chef/chef-provisioning/tree/v0.1) (2013-12-21)
991
1013
 
992
1014
 
993
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
1015
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -5,6 +5,7 @@ require 'chef/provisioning/machine'
5
5
  class Chef
6
6
  class Provider
7
7
  class MachineExecute < Chef::Provider::LWRPBase
8
+ provides :machine_execute
8
9
 
9
10
  def action_handler
10
11
  @action_handler ||= Chef::Provisioning::ChefProviderActionHandler.new(self)
@@ -36,10 +36,10 @@ module Provisioning
36
36
  # The options are used in
37
37
  # Net::SSH.start(host, username, ssh_options)
38
38
 
39
- def initialize(host, username, ssh_options, options, global_config)
39
+ def initialize(host, username, init_ssh_options, options, global_config)
40
40
  @host = host
41
41
  @username = username
42
- @ssh_options = ssh_options
42
+ @ssh_options = init_ssh_options.clone
43
43
  @options = options
44
44
  @config = global_config
45
45
  @remote_forwards = ssh_options.delete(:remote_forwards) { Array.new }
@@ -79,7 +79,7 @@ module Provisioning
79
79
  Chef::Log.debug("unavailable: winrm authentication error: #{$!.inspect} ")
80
80
  disconnect
81
81
  false
82
- rescue Timeout::Error, Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::ECONNRESET, ::WinRM::WinRMError
82
+ rescue Timeout::Error, Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ECONNREFUSED, Errno::ECONNRESET, ::WinRM::WinRMError, Errno::ECONNABORTED
83
83
  Chef::Log.debug("unavailable: network connection failed or broke: #{$!.inspect}")
84
84
  disconnect
85
85
  false
@@ -1,5 +1,5 @@
1
1
  class Chef
2
2
  module Provisioning
3
- VERSION = '2.7.1'
3
+ VERSION = '2.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -303,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
303
  version: '0'
304
304
  requirements: []
305
305
  rubyforge_project:
306
- rubygems_version: 2.7.6
306
+ rubygems_version: 2.7.7
307
307
  signing_key:
308
308
  specification_version: 4
309
309
  summary: A library for creating machines and infrastructures idempotently in Chef.