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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5601c0019a8fff4974070e501749090cd48002ac
|
4
|
+
data.tar.gz: b964939a1849f0f7e66349393cb55037e39078fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 305478bf7c95b2acb95fe6fbf9aeee7860c1399ef49678dd0ff7acd229d275eede903c669cbc8ee277ddc0374f0bc52fa7e592dc9c4afaf3f928bda1a4fb07f3
|
7
|
+
data.tar.gz: ad75eb1357ef7b04ae588d400805c9f28cf2fbece881bd04c7b7290b955b598f5ed2d7ffc85812bdf224e60ed29cdd50af18e0692da3f6abe5787f9235dead72
|
@@ -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
|
|
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:
|
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-
|
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.
|
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:
|