knife-zero 1.8.4 → 1.8.5
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/knife-zero/core/bootstrap_context.rb +4 -3
- data/lib/knife-zero/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b237a684fc97894a3527039f348625f4834dd4d
|
|
4
|
+
data.tar.gz: c125782b3e8a883d8792608bfaff70173bcd21ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 047c70e46a47bc6c57c814adcf82f597e72b28f3de214d41292d98ebdc7c59d3581c82b590b9f5e7f8473c94613a5186923e3c45b5d39ea011a479da594aeb6d
|
|
7
|
+
data.tar.gz: ef654a7a9a85090a64aae02096a9e35e59dfb18f78403d6f81c3396fba460368e7cf6c60519b119d9728b843c3e621e477063b149dbfcb478e608e4a98b7f84e
|
data/CHANGELOG.md
CHANGED
|
@@ -18,15 +18,16 @@ class Chef
|
|
|
18
18
|
alias :orig_config_content config_content
|
|
19
19
|
def config_content
|
|
20
20
|
client_rb = orig_config_content
|
|
21
|
+
white_lists = []
|
|
21
22
|
%w{ automatic_attribute_whitelist default_attribute_whitelist normal_attribute_whitelist override_attribute_whitelist }.each do |white_list|
|
|
22
23
|
if Chef::Config[:knife][white_list.to_sym] && Chef::Config[:knife][white_list.to_sym].is_a?(Array)
|
|
23
|
-
|
|
24
|
+
white_lists.push([
|
|
24
25
|
white_list,
|
|
25
26
|
Chef::Config[:knife][white_list.to_sym].to_s
|
|
26
|
-
].join(" ")
|
|
27
|
+
].join(" "))
|
|
27
28
|
end
|
|
28
29
|
end
|
|
29
|
-
client_rb
|
|
30
|
+
client_rb << white_lists.join("\n")
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
alias :orig_start_chef start_chef
|
data/lib/knife-zero/version.rb
CHANGED