chef-provisioning 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b74d8382b16381913bc3607db51e0ec5c00db19a
4
- data.tar.gz: 75b2979d44492c4f37925babe8ee872f1ef2f69d
3
+ metadata.gz: e7fd5bcf32d76ca54ace79c1e28d0e1c539c9dc2
4
+ data.tar.gz: 02a60344f09ab222430db4d077597ca23738a161
5
5
  SHA512:
6
- metadata.gz: bf096a63be29a06fd54291bc3d75d9c7fff2bea359b8e4825a454aea075b008c3f0c1d24d01d8ba1de1e398c192de0df4e64a1ef0999867a19fcbc3c5b63052a
7
- data.tar.gz: 2d0f1630b268b13c7547e991fc3cfdb66216e0f37ace235e2d05009c29aa21a8da3362ee4498e2c48e75bb0e211ef49228915ec5e41bdd8b68d31346b027be89
6
+ metadata.gz: 2768564afefbe6075d8603e813619aea1c55e8cf4bd916679406fdca52d90176ce721a150a550bc5605e450190414378d19157a7037259ddd3e939e7b721f714
7
+ data.tar.gz: cd1ec5fcbf6f2bea383973ad71f85c91d93f3b41a4f6c422d8e4bebc1c899d1c1b7aa9d304cab26f435825a00e7e39779ebd489e48d9020301f16d4522a1f675
data/CHANGELOG.md CHANGED
@@ -1,35 +1,38 @@
1
1
  # Change Log
2
2
 
3
- ## [Unreleased](https://github.com/chef/chef-provisioning/tree/HEAD)
3
+ ## [1.7.0](https://github.com/chef/chef-provisioning/tree/1.7.0) (2016-04-06)
4
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.6.0...1.7.0)
4
5
 
5
- [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.5.1...HEAD)
6
+ **Merged pull requests:**
7
+
8
+ - Use mixlib-install 1.0 [\#512](https://github.com/chef/chef-provisioning/pull/512) ([jkeiser](https://github.com/jkeiser))
9
+ - Allow newer inifile gem [\#509](https://github.com/chef/chef-provisioning/pull/509) ([pburkholder](https://github.com/pburkholder))
10
+
11
+ ## [v1.6.0](https://github.com/chef/chef-provisioning/tree/v1.6.0) (2016-02-03)
12
+ [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.5.1...v1.6.0)
6
13
 
7
14
  **Implemented enhancements:**
8
15
 
9
16
  - Custom port forwards. [\#445](https://github.com/chef/chef-provisioning/pull/445) ([causton81](https://github.com/causton81))
10
17
 
11
- **Closed issues:**
18
+ **Fixed bugs:**
12
19
 
13
20
  - Chef::Exceptions::ContentLengthMismatch Response body length XXXX does not match HTTP Content-Length header XXXX [\#446](https://github.com/chef/chef-provisioning/issues/446)
21
+ - Updating to the latest release of net-ssh to consume net-ssh/net-ssh\#280 [\#485](https://github.com/chef/chef-provisioning/pull/485) ([tyler-ball](https://github.com/tyler-ball))
14
22
 
15
23
  **Merged pull requests:**
16
24
 
17
25
  - Fix Provisioning with Cheffish 1.x [\#496](https://github.com/chef/chef-provisioning/pull/496) ([jkeiser](https://github.com/jkeiser))
26
+ - Bump revision to 1.6.0 [\#493](https://github.com/chef/chef-provisioning/pull/493) ([jkeiser](https://github.com/jkeiser))
18
27
  - Add "rake changelog" task [\#491](https://github.com/chef/chef-provisioning/pull/491) ([jkeiser](https://github.com/jkeiser))
19
28
  - Stop using Chef::Provider::ChefNode directly \(cheffish 2.0 compat\) [\#490](https://github.com/chef/chef-provisioning/pull/490) ([jkeiser](https://github.com/jkeiser))
20
29
  - Allow cheffish 2.0 as a dep [\#489](https://github.com/chef/chef-provisioning/pull/489) ([jkeiser](https://github.com/jkeiser))
21
- - Updating to the latest release of net-ssh to consume net-ssh/net-ssh\#280 [\#485](https://github.com/chef/chef-provisioning/pull/485) ([tyler-ball](https://github.com/tyler-ball))
22
30
 
23
31
  ## [v1.5.1](https://github.com/chef/chef-provisioning/tree/v1.5.1) (2015-12-10)
24
32
  [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.5.0...v1.5.1)
25
33
 
26
- **Closed issues:**
27
-
28
- - machine resource is broken with 'stock' windows AMI [\#470](https://github.com/chef/chef-provisioning/issues/470)
29
-
30
34
  **Merged pull requests:**
31
35
 
32
- - Release preperation for 1.5.1 [\#479](https://github.com/chef/chef-provisioning/pull/479) ([tyler-ball](https://github.com/tyler-ball))
33
36
  - Require ResourceBuilder file before monkeypatching to ensure it is already defined [\#478](https://github.com/chef/chef-provisioning/pull/478) ([tyler-ball](https://github.com/tyler-ball))
34
37
  - Ensure target directory exists when using write\_file with WinRM [\#471](https://github.com/chef/chef-provisioning/pull/471) ([xenolinguist](https://github.com/xenolinguist))
35
38
 
@@ -38,9 +41,7 @@
38
41
 
39
42
  **Fixed bugs:**
40
43
 
41
- - Method failed 'StartsWith' [\#460](https://github.com/chef/chef-provisioning/issues/460)
42
44
  - :converge action should not re-install chef-client if the desired version is already installed [\#428](https://github.com/chef/chef-provisioning/issues/428)
43
- - machine converge property - no longer used? [\#427](https://github.com/chef/chef-provisioning/issues/427)
44
45
  - SSH available timeout needs to be configurable [\#362](https://github.com/chef/chef-provisioning/issues/362)
45
46
  - Making available? timeout use provided ssh\_options, fixes \#362 [\#466](https://github.com/chef/chef-provisioning/pull/466) ([tyler-ball](https://github.com/tyler-ball))
46
47
  - Pinning to mixlib-install 0.7.0 until 1.0 is out [\#464](https://github.com/chef/chef-provisioning/pull/464) ([tyler-ball](https://github.com/tyler-ball))
@@ -53,7 +54,6 @@
53
54
 
54
55
  **Merged pull requests:**
55
56
 
56
- - Preping 1.5.0 release [\#467](https://github.com/chef/chef-provisioning/pull/467) ([tyler-ball](https://github.com/tyler-ball))
57
57
  - Add gemspec files to allow bundler to run from the gem [\#461](https://github.com/chef/chef-provisioning/pull/461) ([ksubrama](https://github.com/ksubrama))
58
58
  - Pin mixlib-install more strictly. [\#459](https://github.com/chef/chef-provisioning/pull/459) ([sersut](https://github.com/sersut))
59
59
 
@@ -63,14 +63,9 @@
63
63
  **Fixed bugs:**
64
64
 
65
65
  - ohai\_hints should be be created at c:\chef\ohai\hints when provisioning windows nodes [\#433](https://github.com/chef/chef-provisioning/issues/433)
66
- - throw exception if Chef::Provisioning::Transport.:WinRM\#execute command is over 3040 chars [\#432](https://github.com/chef/chef-provisioning/issues/432)
67
66
  - Fix install\_sh\_arguments passing after the conversion to mixlib-install [\#452](https://github.com/chef/chef-provisioning/pull/452) ([irvingpop](https://github.com/irvingpop))
68
67
  - Windows ohai hints, fixes \#433 [\#435](https://github.com/chef/chef-provisioning/pull/435) ([hh](https://github.com/hh))
69
68
 
70
- **Merged pull requests:**
71
-
72
- - Preparing to release 1.4.1 [\#456](https://github.com/chef/chef-provisioning/pull/456) ([tyler-ball](https://github.com/tyler-ball))
73
-
74
69
  ## [v1.4.0](https://github.com/chef/chef-provisioning/tree/v1.4.0) (2015-09-16)
75
70
  [Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.3.0...v1.4.0)
76
71
 
@@ -106,7 +101,6 @@
106
101
 
107
102
  **Merged pull requests:**
108
103
 
109
- - IN PROGRESS: 1.4.0 changelog [\#444](https://github.com/chef/chef-provisioning/pull/444) ([jkeiser](https://github.com/jkeiser))
110
104
  - Remove dependency on chef gem [\#441](https://github.com/chef/chef-provisioning/pull/441) ([ksubrama](https://github.com/ksubrama))
111
105
  - Adding a CONTRIBUTING document [\#437](https://github.com/chef/chef-provisioning/pull/437) ([tyler-ball](https://github.com/tyler-ball))
112
106
  - Major generator/spec/Travis improvements [\#426](https://github.com/chef/chef-provisioning/pull/426) ([randomcamel](https://github.com/randomcamel))
@@ -212,7 +206,6 @@
212
206
  **Closed issues:**
213
207
 
214
208
  - chef-dk 0.5.1 with chef-zero renders unusable chefzero://localhost:8889 URLs on nodes [\#336](https://github.com/chef/chef-provisioning/issues/336)
215
- - Updating chef-provisioning-aws breaks chef-client -z functionality with ChefDK 0.4.0 \(current version\). [\#322](https://github.com/chef/chef-provisioning/issues/322)
216
209
  - Converging 0 resources - Am I missing something? [\#320](https://github.com/chef/chef-provisioning/issues/320)
217
210
 
218
211
  **Merged pull requests:**
@@ -840,4 +833,4 @@
840
833
  ## [v0.1](https://github.com/chef/chef-provisioning/tree/v0.1) (2013-12-21)
841
834
 
842
835
 
843
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
836
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/Gemfile CHANGED
@@ -1,7 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
  gemspec
3
3
 
4
- gem 'github_changelog_generator'
5
4
  #gem 'mixlib-install', path: '../mixlib-install'
6
5
  #gem 'net-ssh', :path => '../net-ssh'
7
6
  #gem 'chef', :path => '../chef'
data/Rakefile CHANGED
@@ -39,14 +39,16 @@ namespace :driver do
39
39
  end
40
40
  end
41
41
 
42
+ require "chef/provisioning/version"
43
+
42
44
  begin
43
45
  require 'github_changelog_generator/task'
44
46
 
45
47
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
46
- # config.future_release = ChefZero::VERSION
48
+ config.future_release = Chef::Provisioning::VERSION
47
49
  config.enhancement_labels = "enhancement,Enhancement,New Feature".split(',')
48
50
  config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(',')
49
- config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog".split(',')
51
+ config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog".split(',')
50
52
  end
51
53
  rescue LoadError
52
54
  # It's OK if the github_changelog_generator isn't there, that happens when we're testing older chef versions
@@ -15,16 +15,17 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency 'net-ssh', '>= 2.9', '< 4.0'
16
16
  s.add_dependency 'net-scp', '~> 1.0'
17
17
  s.add_dependency 'net-ssh-gateway', '~> 1.2.0'
18
- s.add_dependency 'inifile', '~> 2.0'
18
+ s.add_dependency 'inifile', '>= 2.0.2'
19
19
  s.add_dependency 'cheffish', '>= 1.3.1', '< 3.0' # 1.3.1 allows 'let' vars in unquoted recipes.
20
20
  s.add_dependency 'winrm', '~> 1.3'
21
- s.add_dependency "mixlib-install", "~> 0.7.0"
21
+ s.add_dependency "mixlib-install", "~> 1.0"
22
22
 
23
23
  s.add_development_dependency 'chef', '~> 12.1', "!= 12.4.0" # 12.4.0 is incompatible.
24
24
  s.add_development_dependency 'rspec'
25
25
  s.add_development_dependency 'rake'
26
26
  s.add_development_dependency 'pry'
27
27
  s.add_development_dependency 'simplecov'
28
+ s.add_development_dependency 'github_changelog_generator'
28
29
 
29
30
  s.bindir = "bin"
30
31
  s.executables = %w( )
@@ -1,5 +1,5 @@
1
1
  require 'chef/provisioning/convergence_strategy/precreate_chef_objects'
2
- require 'mixlib/install'
2
+ require 'mixlib/install/script_generator'
3
3
  require 'pathname'
4
4
 
5
5
  class Chef
@@ -36,7 +36,7 @@ module Provisioning
36
36
  opts["install_msi_url"] = convergence_options[:install_msi_url] if convergence_options[:install_msi_url]
37
37
  super
38
38
 
39
- install_command = Mixlib::Install.new(chef_version, true, opts).install_command
39
+ install_command = Mixlib::Install::ScriptGenerator.new(chef_version, true, opts).install_command
40
40
  machine.write_file(action_handler, convergence_options[:install_script_path], install_command)
41
41
 
42
42
  action_handler.open_stream(machine.node['name']) do |stdout|
@@ -1,6 +1,6 @@
1
1
  require 'chef/provisioning/convergence_strategy/precreate_chef_objects'
2
2
  require 'pathname'
3
- require 'mixlib/install'
3
+ require 'mixlib/install/script_generator'
4
4
 
5
5
  class Chef
6
6
  module Provisioning
@@ -41,7 +41,7 @@ module Provisioning
41
41
  opts['install_flags'] = convergence_options[:install_sh_arguments]
42
42
  end
43
43
 
44
- install_command = Mixlib::Install.new(chef_version, false, opts).install_command
44
+ install_command = Mixlib::Install::ScriptGenerator.new(chef_version, false, opts).install_command
45
45
  machine.write_file(action_handler, install_sh_path, install_command, :ensure_dir => true)
46
46
  machine.set_attributes(action_handler, install_sh_path, :mode => '0755')
47
47
  machine.execute(action_handler, "sh -c #{install_sh_path}")
@@ -1,5 +1,5 @@
1
1
  class Chef
2
2
  module Provisioning
3
- VERSION = '1.6.0'
3
+ VERSION = '1.7.0'
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.6.0
4
+ version: 1.7.0
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-02-03 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -62,16 +62,16 @@ dependencies:
62
62
  name: inifile
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '2.0'
67
+ version: 2.0.2
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: '2.0'
74
+ version: 2.0.2
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: cheffish
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +112,14 @@ dependencies:
112
112
  requirements:
113
113
  - - "~>"
114
114
  - !ruby/object:Gem::Version
115
- version: 0.7.0
115
+ version: '1.0'
116
116
  type: :runtime
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: 0.7.0
122
+ version: '1.0'
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: chef
125
125
  requirement: !ruby/object:Gem::Requirement
@@ -196,6 +196,20 @@ dependencies:
196
196
  - - ">="
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
+ - !ruby/object:Gem::Dependency
200
+ name: github_changelog_generator
201
+ requirement: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ type: :development
207
+ prerelease: false
208
+ version_requirements: !ruby/object:Gem::Requirement
209
+ requirements:
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: '0'
199
213
  description: A library for creating machines and infrastructures idempotently in Chef.
200
214
  email: jkeiser@chef.io
201
215
  executables: []
@@ -275,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
289
  version: '0'
276
290
  requirements: []
277
291
  rubyforge_project:
278
- rubygems_version: 2.4.5.1
292
+ rubygems_version: 2.4.7
279
293
  signing_key:
280
294
  specification_version: 4
281
295
  summary: A library for creating machines and infrastructures idempotently in Chef.