chef-provisioning 1.8.0 → 1.8.1

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: 5ff9e4dfc484b16cb8e33d9f3030714861950fa7
4
- data.tar.gz: dfa0a1156db9723cf39bed80b2197de072c6ad09
3
+ metadata.gz: 87438296efe4bcc78a176457c91168dcbc60c2cc
4
+ data.tar.gz: b81163b461dce0cb8ea0e8523cddef7a507ef2b2
5
5
  SHA512:
6
- metadata.gz: 09d9cfc817cdddb6bd076020eb56dc0cda794e524010d12d2bf4fb0303af93f52ba9d1148423165bec7bd10bd60d88881d2f9aeab7926d6883b2d4c8c066ba18
7
- data.tar.gz: ff11a5158ffac01cd0bd15dc1b80e8640c3c9423f3448097e6969b72765460db64a47ee81bf8ca19f8d95ddb1d2645ff488760d85b718e840cb45f7c90c2a3b1
6
+ metadata.gz: 596154088faba838b8935e23b64bf30647e7149a9d9297e12a3c7a51f860e1a8623dfa51b4ffea1cdf0dff80d70e837ce21addbf2b0aa1b27ac6742ae125c481
7
+ data.tar.gz: 9f4b22085cf6fcd8adcb39765df548e56d7d73dfeb30207c18b8f93bcf57925602051a9b588f401027465593368333d0629375f3ca1aaf8b2a728c1796e302e4
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [1.8.0](https://github.com/chef/chef-provisioning/tree/1.8.0) (2016-06-16)
4
- [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.7.1...1.8.0)
3
+ ## [1.8.1](https://github.com/chef/chef-provisioning/tree/1.8.1) (2016-08-03)
4
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.8.0...1.8.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Cleaning up a deprecation warning [\#530](https://github.com/chef/chef-provisioning/pull/530) ([tyler-ball](https://github.com/tyler-ball))
9
+
10
+ ## [v1.8.0](https://github.com/chef/chef-provisioning/tree/v1.8.0) (2016-06-16)
11
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.7.1...v1.8.0)
5
12
 
6
13
  **Closed issues:**
7
14
 
@@ -250,7 +257,7 @@
250
257
 
251
258
  **Merged pull requests:**
252
259
 
253
- - fix machine\_batch :destroy \#319 [\#321](https://github.com/chef/chef-provisioning/pull/321) ([patrick-wright](https://github.com/patrick-wright))
260
+ - fix machine\_batch :destroy \#319 [\#321](https://github.com/chef/chef-provisioning/pull/321) ([wrightp](https://github.com/wrightp))
254
261
  - Install chef-client using Proxy [\#317](https://github.com/chef/chef-provisioning/pull/317) ([afiune](https://github.com/afiune))
255
262
  - Allow user to specify a custom stdout in Chef::Config\[:stdout\] [\#311](https://github.com/chef/chef-provisioning/pull/311) ([jkeiser](https://github.com/jkeiser))
256
263
 
@@ -376,7 +383,7 @@
376
383
  - Update to ignore .idea directories. [\#247](https://github.com/chef/chef-provisioning/pull/247) ([miguelcnf](https://github.com/miguelcnf))
377
384
  - Change Metal to Provisioning [\#240](https://github.com/chef/chef-provisioning/pull/240) ([twellspring](https://github.com/twellspring))
378
385
  - In simple example, require chef/provisioning [\#239](https://github.com/chef/chef-provisioning/pull/239) ([janeireton](https://github.com/janeireton))
379
- - MEGA chef-provisioning-test-suite project dump [\#238](https://github.com/chef/chef-provisioning/pull/238) ([patrick-wright](https://github.com/patrick-wright))
386
+ - MEGA chef-provisioning-test-suite project dump [\#238](https://github.com/chef/chef-provisioning/pull/238) ([wrightp](https://github.com/wrightp))
380
387
  - Fix ssh driver url [\#233](https://github.com/chef/chef-provisioning/pull/233) ([gravitystorm](https://github.com/gravitystorm))
381
388
  - Flip logic on ssl peer validation [\#232](https://github.com/chef/chef-provisioning/pull/232) ([andrewelizondo](https://github.com/andrewelizondo))
382
389
  - add chef-provisioning-crowbar to README.md [\#230](https://github.com/chef/chef-provisioning/pull/230) ([newgoliath](https://github.com/newgoliath))
@@ -854,4 +861,4 @@
854
861
  ## [v0.1](https://github.com/chef/chef-provisioning/tree/v0.1) (2013-12-21)
855
862
 
856
863
 
857
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
864
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -195,7 +195,7 @@ with_machine_options({
195
195
  install_msi_url: "foo://bar.com"
196
196
  },
197
197
  ssh_username: "ubuntu", # Username to use for ssh and WinRM
198
- ssh_gateway: "user@gateway", " SSH gateway configuration
198
+ ssh_gateway: "user@gateway", # SSH gateway configuration
199
199
  ssh_options: { # a list of options to Net::SSH.start
200
200
  :auth_methods => [ 'publickey' ], # DEFAULT
201
201
  :keys_only => true, # DEFAULT
@@ -36,11 +36,12 @@ module Provisioning
36
36
  def execute(command, execute_options = {})
37
37
  output = with_execute_timeout(execute_options) do
38
38
  session.set_timeout(execute_timeout(execute_options))
39
+ command_executor = ::WinRM::CommandExecutor.new(session)
39
40
  block = Proc.new { |stdout, stderr| stream_chunk(execute_options, stdout, stderr) }
40
41
  if execute_options[:raw]
41
- session.run_cmd(command, &block)
42
+ command_executor.run_cmd(command, &block)
42
43
  else
43
- session.run_powershell_script(command, &block)
44
+ command_executor.run_powershell_script(command, &block)
44
45
  end
45
46
  end
46
47
  WinRMResult.new(command, execute_options, config, output)
@@ -1,5 +1,5 @@
1
1
  class Chef
2
2
  module Provisioning
3
- VERSION = '1.8.0'
3
+ VERSION = '1.8.1'
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: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-16 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh