chef-provisioning 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -1
- data/Gemfile +1 -6
- data/README.md +9 -5
- data/lib/chef/provisioning/chef_run_data.rb +1 -1
- data/lib/chef/provisioning/recipe_dsl.rb +1 -1
- data/lib/chef/provisioning/version.rb +1 -1
- data/lib/chef/resource/machine_batch.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0124458c476d6ce597dd57fc510079c56238c4bc
|
4
|
+
data.tar.gz: b0dda9f7069f2e2f6b3d84c5fc82fc3f95925098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f21041475978c60a64ae379e65500b9dad69d1ec00b21be72b85ae684188bb8646883762be3de3110af903adfeb091f1a4564eac5eb7858a8f9459846f64837c
|
7
|
+
data.tar.gz: bd1c346c5131102658f0097a980afb8142d0cdabdb5ff5ec9f285ba8db6ce6fd542d694205e01615caf0380e245df0b576ba7b5c49202585a638c0f0519587a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [2.3.1](https://github.com/chef/chef-provisioning/tree/2.3.1) (2017-04-21)
|
4
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.3.0...2.3.1)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Update README.md [\#575](https://github.com/chef/chef-provisioning/pull/575) ([jjasghar](https://github.com/jjasghar))
|
9
|
+
|
10
|
+
## [v2.3.0](https://github.com/chef/chef-provisioning/tree/v2.3.0) (2017-04-20)
|
11
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.2.1...v2.3.0)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- allow cheffish 13.x [\#577](https://github.com/chef/chef-provisioning/pull/577) ([lamont-granquist](https://github.com/lamont-granquist))
|
16
|
+
- Fixes for chef13 and cheffish5.x/cheffish-13.x [\#572](https://github.com/chef/chef-provisioning/pull/572) ([jjlimepoint](https://github.com/jjlimepoint))
|
17
|
+
|
18
|
+
## [v2.2.1](https://github.com/chef/chef-provisioning/tree/v2.2.1) (2017-03-14)
|
19
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.2.0...v2.2.1)
|
20
|
+
|
3
21
|
## [v2.2.0](https://github.com/chef/chef-provisioning/tree/v2.2.0) (2017-03-11)
|
4
22
|
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v2.1.1...v2.2.0)
|
5
23
|
|
@@ -931,4 +949,4 @@
|
|
931
949
|
## [v0.1](https://github.com/chef/chef-provisioning/tree/v0.1) (2013-12-21)
|
932
950
|
|
933
951
|
|
934
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
952
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
CHANGED
@@ -10,9 +10,4 @@ gemspec
|
|
10
10
|
#gem 'chef-provisioning-fog', :path => '../chef-provisioning-fog'
|
11
11
|
#gem 'chef-provisioning-aws', :path => '../chef-provisioning-aws'
|
12
12
|
#gem 'chef-zero', :path => '../chef-zero'
|
13
|
-
|
14
|
-
# gem "berkshelf", github: "berkshelf/berkshelf"
|
15
|
-
# TODO we depend on the master branch until chef/chef is released
|
16
|
-
gem "ohai", git: "https://github.com/chef/ohai", branch: "master"
|
17
|
-
gem "chef", git: "https://github.com/chef/chef", branch: "master"
|
18
|
-
end
|
13
|
+
#gem "berkshelf", github: "berkshelf/berkshelf"
|
data/README.md
CHANGED
@@ -19,13 +19,17 @@ Due to the age and engagement level with different Drivers they have fallen into
|
|
19
19
|
|
20
20
|
Maintained drivers have a representative in the maintenance policy and get triaged / discussed during office hours. They are
|
21
21
|
|
22
|
-
[AWS](https://github.com/chef/chef-provisioning-aws) | [Fog](https://github.com/chef/chef-provisioning-fog)
|
23
|
-
---- | ---- |
|
24
|
-
[![Gem Version](https://badge.fury.io/rb/chef-provisioning-aws.svg)](http://badge.fury.io/rb/chef-provisioning-aws) | [![Gem Version](https://badge.fury.io/rb/chef-provisioning-fog.svg)](http://badge.fury.io/rb/chef-provisioning-fog)
|
22
|
+
| [AWS](https://github.com/chef/chef-provisioning-aws) | [Fog](https://github.com/chef/chef-provisioning-fog) |
|
23
|
+
| ---- | ---- |
|
24
|
+
| [![Gem Version](https://badge.fury.io/rb/chef-provisioning-aws.svg)](http://badge.fury.io/rb/chef-provisioning-aws) | [![Gem Version](https://badge.fury.io/rb/chef-provisioning-fog.svg)](http://badge.fury.io/rb/chef-provisioning-fog) |
|
25
25
|
|
26
|
-
|
26
|
+
Maintained by Chef-Partners:
|
27
|
+
|
28
|
+
* [vSphere](https://github.com/chef-partners/chef-provisioning-vsphere)
|
29
|
+
* [vra](https://github.com/chef-partners/chef-provisioning-vra)
|
30
|
+
|
31
|
+
One driver are not maintained by Chef:
|
27
32
|
|
28
|
-
* [VSphere](https://github.com/CenturyLinkCloud/chef-provisioning-vsphere)
|
29
33
|
* [AsureRM](https://github.com/pendrica/chef-provisioning-azurerm)
|
30
34
|
|
31
35
|
Unmaintained Drivers are at risk of becoming stale. They are:
|
@@ -99,7 +99,7 @@ module Provisioning
|
|
99
99
|
drivers[driver_url] ||= begin
|
100
100
|
if driver_url == @current_driver && @current_driver_options
|
101
101
|
# Use the driver options if available
|
102
|
-
merged_config = Cheffish::MergedConfig.new({ :driver_options => @current_driver_options }, config)
|
102
|
+
merged_config = Cheffish::MergedConfig.new({ :driver_options => @current_driver_options }, config.to_hash)
|
103
103
|
driver = Chef::Provisioning.driver_for_url(driver_url, merged_config)
|
104
104
|
else
|
105
105
|
driver = Chef::Provisioning.driver_for_url(driver_url, config)
|
@@ -59,7 +59,7 @@ class Chef
|
|
59
59
|
def machine_batch(name = nil, &block)
|
60
60
|
name ||= machine_batch_default_name
|
61
61
|
recipe = self
|
62
|
-
declare_resource(:machine_batch, name
|
62
|
+
declare_resource(:machine_batch, name) do
|
63
63
|
from_recipe recipe
|
64
64
|
instance_eval(&block)
|
65
65
|
end
|
@@ -38,7 +38,7 @@ class MachineBatch < Chef::Resource::LWRPBase
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def machine(name, &block)
|
41
|
-
machines << from_recipe.build_resource(:machine, name,
|
41
|
+
machines << from_recipe.build_resource(:machine, name, &block)
|
42
42
|
end
|
43
43
|
|
44
44
|
def add_machine_options(options)
|
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.3.
|
4
|
+
version: 2.3.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: 2017-04-
|
11
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
323
|
version: '0'
|
324
324
|
requirements: []
|
325
325
|
rubyforge_project:
|
326
|
-
rubygems_version: 2.
|
326
|
+
rubygems_version: 2.5.1
|
327
327
|
signing_key:
|
328
328
|
specification_version: 4
|
329
329
|
summary: A library for creating machines and infrastructures idempotently in Chef.
|