chef-provisioning 1.4.0 → 1.4.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: 4af26c18a0d3c96d499c8d7b1267264d15244cfe
|
4
|
+
data.tar.gz: bcb53c4299f239845c449366f3ae39397143b90e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347c6a36818a4f6529b4bd1798fa3c22707efc5a36114fc7ebd520cad735cdabd1fd359c65231c93f5a35d69fc849a076a5e7cf4773c6de74b117af6e3aa795f
|
7
|
+
data.tar.gz: d872f47eb7ced3c6a3132eb4f8346cf0b6c2fd9c72c54be41e4ee46dc3465a749b8d83b5c7247b412d4117e26894c69d5385500d9a146271731b3d18443d5162
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [1.4.
|
4
|
-
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.
|
3
|
+
## [1.4.1](https://github.com/chef/chef-provisioning/tree/1.4.1) (2015-09-30)
|
4
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.4.0...1.4.1)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- ohai\_hints should be be created at c:\chef\ohai\hints when provisioning windows nodes [\#433](https://github.com/chef/chef-provisioning/issues/433)
|
9
|
+
- 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))
|
10
|
+
- Windows ohai hints, fixes \#433 [\#435](https://github.com/chef/chef-provisioning/pull/435) ([hh](https://github.com/hh))
|
11
|
+
|
12
|
+
## [v1.4.0](https://github.com/chef/chef-provisioning/tree/v1.4.0) (2015-09-16)
|
13
|
+
[Full Changelog](https://github.com/chef/chef-provisioning/compare/v1.3.0...v1.4.0)
|
5
14
|
|
6
15
|
**Implemented enhancements:**
|
7
16
|
|
@@ -140,6 +149,7 @@
|
|
140
149
|
**Closed issues:**
|
141
150
|
|
142
151
|
- 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)
|
152
|
+
- 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)
|
143
153
|
- Converging 0 resources - Am I missing something? [\#320](https://github.com/chef/chef-provisioning/issues/320)
|
144
154
|
|
145
155
|
**Merged pull requests:**
|
@@ -39,10 +39,14 @@ module Provisioning
|
|
39
39
|
opts["https_proxy"] = convergence_options[:bootstrap_proxy]
|
40
40
|
end
|
41
41
|
|
42
|
+
if convergence_options[:install_sh_arguments]
|
43
|
+
opts['install_flags'] = convergence_options[:install_sh_arguments]
|
44
|
+
end
|
45
|
+
|
42
46
|
install_command = Mixlib::Install.new(chef_version, false, opts).install_command
|
43
47
|
machine.write_file(action_handler, install_sh_path, install_command, :ensure_dir => true)
|
44
48
|
machine.set_attributes(action_handler, install_sh_path, :mode => '0755')
|
45
|
-
machine.execute(action_handler, "sh -c
|
49
|
+
machine.execute(action_handler, "sh -c #{install_sh_path}")
|
46
50
|
end
|
47
51
|
|
48
52
|
def converge(action_handler, machine)
|
@@ -127,6 +127,10 @@ module Provisioning
|
|
127
127
|
convergence_options[:ohai_hints].each_pair do |hint, data|
|
128
128
|
# The location of the ohai hint
|
129
129
|
ohai_hint = "/etc/chef/ohai/hints/#{hint}.json"
|
130
|
+
# It's in a different path on windows
|
131
|
+
if machine.machine_spec.reference['is_windows']
|
132
|
+
ohai_hint = [machine.system_drive, ohai_hint.split('/')[2..-1]].join('\\')
|
133
|
+
end
|
130
134
|
machine.write_file(action_handler, ohai_hint, data.to_json, :ensure_dir => true)
|
131
135
|
end
|
132
136
|
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.4.
|
4
|
+
version: 1.4.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-09-
|
11
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -267,9 +267,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
version: '0'
|
268
268
|
requirements: []
|
269
269
|
rubyforge_project:
|
270
|
-
rubygems_version: 2.4.
|
270
|
+
rubygems_version: 2.4.7
|
271
271
|
signing_key:
|
272
272
|
specification_version: 4
|
273
273
|
summary: A library for creating machines and infrastructures idempotently in Chef.
|
274
274
|
test_files: []
|
275
|
-
has_rdoc:
|