chef-provisioning 0.20 → 0.20.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: cef7f76f812dd3448e17029ab8f1a6ad7e6fbae0
4
- data.tar.gz: c4eb855e69e250a2116b0cf76c86c9564f289e6d
3
+ metadata.gz: 5601c0019a8fff4974070e501749090cd48002ac
4
+ data.tar.gz: b964939a1849f0f7e66349393cb55037e39078fd
5
5
  SHA512:
6
- metadata.gz: 84b90c58824627cfa6e867e6ec5bd6a4bd9537eabc2713206efcebb8132b30baf1eeb81baa21088ef901d2f411d1f7ed3fcb3d17a0ce969a9e49a720f24407ed
7
- data.tar.gz: 9314c432528799c4f75b9d9821e1d9ce64dceecdb1ede33247b4c3b56d3f7e88ad7ed2b2e81002106a13a17c0b423cfeb49f1540aee09d2480b660e367a3877c
6
+ metadata.gz: 305478bf7c95b2acb95fe6fbf9aeee7860c1399ef49678dd0ff7acd229d275eede903c669cbc8ee277ddc0374f0bc52fa7e592dc9c4afaf3f928bda1a4fb07f3
7
+ data.tar.gz: ad75eb1357ef7b04ae588d400805c9f28cf2fbece881bd04c7b7290b955b598f5ed2d7ffc85812bdf224e60ed29cdd50af18e0692da3f6abe5787f9235dead72
@@ -38,6 +38,8 @@ module Provisioning
38
38
 
39
39
  attr_reader :client_rb_path
40
40
  attr_reader :client_pem_path
41
+ attr_reader :chef_version
42
+ attr_reader :prerelease
41
43
 
42
44
  def setup_convergence(action_handler, machine)
43
45
  super
@@ -5,15 +5,17 @@ class Chef
5
5
  module Provisioning
6
6
  class ConvergenceStrategy
7
7
  class InstallMsi < PrecreateChefObjects
8
- @@install_msi_cache = {}
9
-
10
8
  def initialize(convergence_options, config)
11
9
  super
10
+ @chef_version ||= convergence_options[:chef_version]
11
+ @prerelease ||= convergence_options[:prerelease]
12
12
  @install_msi_url = convergence_options[:install_msi_url] || 'https://www.chef.io/chef/install.msi'
13
13
  @install_msi_path = convergence_options[:install_msi_path] || "$env:TEMP\\#{File.basename(@install_msi_url)}"
14
14
  @chef_client_timeout = convergence_options.has_key?(:chef_client_timeout) ? convergence_options[:chef_client_timeout] : 120*60 # Default: 2 hours
15
15
  end
16
16
 
17
+ attr_reader :chef_version
18
+ attr_reader :prerelease
17
19
  attr_reader :install_msi_url
18
20
  attr_reader :install_msi_path
19
21
 
@@ -1,5 +1,5 @@
1
1
  class Chef
2
2
  module Provisioning
3
- VERSION = '0.20'
3
+ VERSION = '0.20.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: '0.20'
4
+ version: 0.20.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: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -195,8 +195,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project:
198
- rubygems_version: 2.4.2
198
+ rubygems_version: 2.4.5
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: A library for creating machines and infrastructures idempotently in Chef.
202
202
  test_files: []
203
+ has_rdoc: