chef 13.11.3-universal-mingw32 → 13.12.3-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -3
  3. data/README.md +35 -40
  4. data/Rakefile +18 -22
  5. data/chef-universal-mingw32.gemspec +1 -1
  6. data/chef.gemspec +3 -3
  7. data/lib/chef/client.rb +1 -1
  8. data/lib/chef/mixin/params_validate.rb +3 -1
  9. data/lib/chef/provider/script.rb +2 -2
  10. data/lib/chef/version.rb +1 -1
  11. data/spec/functional/http/simple_spec.rb +12 -6
  12. data/spec/functional/resource/remote_file_spec.rb +19 -15
  13. data/spec/support/platform_helpers.rb +2 -1
  14. data/tasks/announce.rb +1 -1
  15. data/tasks/dependencies.rb +5 -39
  16. data/tasks/maintainers.rb +10 -10
  17. data/tasks/rspec.rb +2 -2
  18. data/tasks/templates/prerelease.md.erb +11 -2
  19. data/tasks/templates/release.md.erb +9 -1
  20. metadata +6 -247
  21. data/CONTRIBUTING.md +0 -151
  22. data/VERSION +0 -1
  23. data/acceptance/.gitignore +0 -3
  24. data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
  25. data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
  26. data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
  27. data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
  28. data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
  29. data/acceptance/Gemfile +0 -19
  30. data/acceptance/Gemfile.lock +0 -266
  31. data/acceptance/README.md +0 -137
  32. data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
  33. data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  34. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  35. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  36. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  37. data/acceptance/basics/.kitchen.yml +0 -4
  38. data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
  39. data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
  40. data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
  41. data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
  42. data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  43. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
  44. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
  45. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
  46. data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
  47. data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
  48. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
  49. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
  50. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
  51. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
  52. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
  53. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
  54. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
  55. data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
  56. data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
  57. data/acceptance/data-collector/.kitchen.yml +0 -9
  58. data/acceptance/data-collector/Berksfile +0 -3
  59. data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
  60. data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
  61. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
  62. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
  63. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  64. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  65. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
  66. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
  67. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
  68. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
  69. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  70. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  71. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  72. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  73. data/acceptance/top-cookbooks/.gitignore +0 -1
  74. data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
  75. data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
  76. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
  77. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
  78. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
  79. data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
  80. data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
  81. data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
  82. data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
  83. data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
  84. data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  85. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  86. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  87. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  88. data/acceptance/trivial/.kitchen.yml +0 -7
  89. data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
  90. data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
  91. data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  92. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  93. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  94. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  95. data/acceptance/windows-service/.kitchen.yml +0 -7
  96. data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
  97. data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
  98. data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
  99. data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
  100. data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
  101. data/distro/common/html/_sources/index.txt +0 -135
  102. data/distro/common/html/_sources/knife.txt +0 -74
  103. data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
  104. data/distro/common/html/_sources/knife_client.txt +0 -151
  105. data/distro/common/html/_sources/knife_common_options.txt +0 -6
  106. data/distro/common/html/_sources/knife_configure.txt +0 -29
  107. data/distro/common/html/_sources/knife_cookbook.txt +0 -236
  108. data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
  109. data/distro/common/html/_sources/knife_data_bag.txt +0 -160
  110. data/distro/common/html/_sources/knife_delete.txt +0 -26
  111. data/distro/common/html/_sources/knife_deps.txt +0 -61
  112. data/distro/common/html/_sources/knife_diff.txt +0 -34
  113. data/distro/common/html/_sources/knife_download.txt +0 -44
  114. data/distro/common/html/_sources/knife_edit.txt +0 -26
  115. data/distro/common/html/_sources/knife_environment.txt +0 -158
  116. data/distro/common/html/_sources/knife_exec.txt +0 -47
  117. data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
  118. data/distro/common/html/_sources/knife_list.txt +0 -33
  119. data/distro/common/html/_sources/knife_node.txt +0 -250
  120. data/distro/common/html/_sources/knife_raw.txt +0 -35
  121. data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
  122. data/distro/common/html/_sources/knife_role.txt +0 -157
  123. data/distro/common/html/_sources/knife_search.txt +0 -53
  124. data/distro/common/html/_sources/knife_serve.txt +0 -19
  125. data/distro/common/html/_sources/knife_show.txt +0 -27
  126. data/distro/common/html/_sources/knife_ssh.txt +0 -43
  127. data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
  128. data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
  129. data/distro/common/html/_sources/knife_status.txt +0 -37
  130. data/distro/common/html/_sources/knife_tag.txt +0 -69
  131. data/distro/common/html/_sources/knife_upload.txt +0 -49
  132. data/distro/common/html/_sources/knife_user.txt +0 -127
  133. data/distro/common/html/_sources/knife_using.txt +0 -43
  134. data/distro/common/html/_sources/knife_xargs.txt +0 -30
  135. data/distro/common/html/_static/ajax-loader.gif +0 -0
  136. data/distro/common/html/_static/basic.css +0 -537
  137. data/distro/common/html/_static/chef.ico +0 -0
  138. data/distro/common/html/_static/chef_html_logo.png +0 -0
  139. data/distro/common/html/_static/comment-bright.png +0 -0
  140. data/distro/common/html/_static/comment-close.png +0 -0
  141. data/distro/common/html/_static/comment.png +0 -0
  142. data/distro/common/html/_static/contents.png +0 -0
  143. data/distro/common/html/_static/doctools.js +0 -238
  144. data/distro/common/html/_static/down-pressed.png +0 -0
  145. data/distro/common/html/_static/down.png +0 -0
  146. data/distro/common/html/_static/file.png +0 -0
  147. data/distro/common/html/_static/guide.css +0 -505
  148. data/distro/common/html/_static/jquery.js +0 -2
  149. data/distro/common/html/_static/minus.png +0 -0
  150. data/distro/common/html/_static/navigation.png +0 -0
  151. data/distro/common/html/_static/plus.png +0 -0
  152. data/distro/common/html/_static/pygments.css +0 -62
  153. data/distro/common/html/_static/searchtools.js +0 -622
  154. data/distro/common/html/_static/underscore.js +0 -31
  155. data/distro/common/html/_static/up-pressed.png +0 -0
  156. data/distro/common/html/_static/up.png +0 -0
  157. data/distro/common/html/_static/websupport.js +0 -808
  158. data/distro/common/html/ctl_chef_client.html +0 -270
  159. data/distro/common/html/ctl_chef_server.html +0 -728
  160. data/distro/common/html/ctl_chef_shell.html +0 -163
  161. data/distro/common/html/ctl_chef_solo.html +0 -194
  162. data/distro/common/html/index.html +0 -202
  163. data/distro/common/html/knife.html +0 -170
  164. data/distro/common/html/knife_bootstrap.html +0 -285
  165. data/distro/common/html/knife_client.html +0 -285
  166. data/distro/common/html/knife_common_options.html +0 -96
  167. data/distro/common/html/knife_configure.html +0 -105
  168. data/distro/common/html/knife_cookbook.html +0 -487
  169. data/distro/common/html/knife_cookbook_site.html +0 -375
  170. data/distro/common/html/knife_data_bag.html +0 -374
  171. data/distro/common/html/knife_delete.html +0 -93
  172. data/distro/common/html/knife_deps.html +0 -143
  173. data/distro/common/html/knife_diff.html +0 -123
  174. data/distro/common/html/knife_download.html +0 -145
  175. data/distro/common/html/knife_edit.html +0 -89
  176. data/distro/common/html/knife_environment.html +0 -322
  177. data/distro/common/html/knife_exec.html +0 -220
  178. data/distro/common/html/knife_index_rebuild.html +0 -83
  179. data/distro/common/html/knife_list.html +0 -114
  180. data/distro/common/html/knife_node.html +0 -458
  181. data/distro/common/html/knife_raw.html +0 -110
  182. data/distro/common/html/knife_recipe_list.html +0 -91
  183. data/distro/common/html/knife_role.html +0 -295
  184. data/distro/common/html/knife_search.html +0 -203
  185. data/distro/common/html/knife_serve.html +0 -79
  186. data/distro/common/html/knife_show.html +0 -104
  187. data/distro/common/html/knife_ssh.html +0 -177
  188. data/distro/common/html/knife_ssl_check.html +0 -151
  189. data/distro/common/html/knife_ssl_fetch.html +0 -151
  190. data/distro/common/html/knife_status.html +0 -144
  191. data/distro/common/html/knife_tag.html +0 -138
  192. data/distro/common/html/knife_upload.html +0 -153
  193. data/distro/common/html/knife_user.html +0 -242
  194. data/distro/common/html/knife_using.html +0 -210
  195. data/distro/common/html/knife_xargs.html +0 -122
  196. data/distro/common/html/objects.inv +0 -0
  197. data/distro/common/html/search.html +0 -82
  198. data/distro/common/html/searchindex.js +0 -1
  199. data/distro/common/man/man1/README.md +0 -58
  200. data/distro/common/man/man1/chef-shell.1 +0 -194
  201. data/distro/common/man/man1/knife-bootstrap.1 +0 -215
  202. data/distro/common/man/man1/knife-client.1 +0 -443
  203. data/distro/common/man/man1/knife-configure.1 +0 -161
  204. data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
  205. data/distro/common/man/man1/knife-cookbook.1 +0 -770
  206. data/distro/common/man/man1/knife-data-bag.1 +0 -617
  207. data/distro/common/man/man1/knife-delete.1 +0 -127
  208. data/distro/common/man/man1/knife-deps.1 +0 -246
  209. data/distro/common/man/man1/knife-diff.1 +0 -226
  210. data/distro/common/man/man1/knife-download.1 +0 -258
  211. data/distro/common/man/man1/knife-edit.1 +0 -121
  212. data/distro/common/man/man1/knife-environment.1 +0 -496
  213. data/distro/common/man/man1/knife-exec.1 +0 -362
  214. data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
  215. data/distro/common/man/man1/knife-list.1 +0 -174
  216. data/distro/common/man/man1/knife-node.1 +0 -716
  217. data/distro/common/man/man1/knife-raw.1 +0 -172
  218. data/distro/common/man/man1/knife-recipe-list.1 +0 -85
  219. data/distro/common/man/man1/knife-role.1 +0 -426
  220. data/distro/common/man/man1/knife-search.1 +0 -359
  221. data/distro/common/man/man1/knife-serve.1 +0 -109
  222. data/distro/common/man/man1/knife-show.1 +0 -160
  223. data/distro/common/man/man1/knife-ssh.1 +0 -284
  224. data/distro/common/man/man1/knife-ssl-check.1 +0 -207
  225. data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
  226. data/distro/common/man/man1/knife-status.1 +0 -234
  227. data/distro/common/man/man1/knife-tag.1 +0 -189
  228. data/distro/common/man/man1/knife-upload.1 +0 -280
  229. data/distro/common/man/man1/knife-user.1 +0 -356
  230. data/distro/common/man/man1/knife-xargs.1 +0 -189
  231. data/distro/common/man/man1/knife.1 +0 -332
  232. data/distro/common/man/man8/chef-apply.8 +0 -86
  233. data/distro/common/man/man8/chef-client.8 +0 -398
  234. data/distro/common/man/man8/chef-solo.8 +0 -260
  235. data/distro/common/markdown/README +0 -3
  236. data/distro/common/markdown/man1/chef-shell.mkd +0 -195
  237. data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
  238. data/distro/common/markdown/man1/knife-client.mkd +0 -103
  239. data/distro/common/markdown/man1/knife-configure.mkd +0 -71
  240. data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
  241. data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
  242. data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
  243. data/distro/common/markdown/man1/knife-environment.mkd +0 -151
  244. data/distro/common/markdown/man1/knife-exec.mkd +0 -42
  245. data/distro/common/markdown/man1/knife-index.mkd +0 -30
  246. data/distro/common/markdown/man1/knife-node.mkd +0 -130
  247. data/distro/common/markdown/man1/knife-role.mkd +0 -85
  248. data/distro/common/markdown/man1/knife-search.mkd +0 -180
  249. data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
  250. data/distro/common/markdown/man1/knife-status.mkd +0 -36
  251. data/distro/common/markdown/man1/knife-tag.mkd +0 -39
  252. data/distro/common/markdown/man1/knife.mkd +0 -213
  253. data/distro/common/markdown/man8/chef-client.mkd +0 -75
  254. data/distro/common/markdown/man8/chef-expander.mkd +0 -81
  255. data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
  256. data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
  257. data/distro/common/markdown/man8/chef-server.mkd +0 -120
  258. data/distro/common/markdown/man8/chef-solo.mkd +0 -107
  259. data/distro/common/markdown/man8/chef-solr.mkd +0 -89
  260. data/tasks/cbgb.rb +0 -84
@@ -205,7 +205,8 @@ def selinux_enabled?
205
205
  end
206
206
 
207
207
  def suse?
208
- File.exists?("/etc/SuSE-release")
208
+ ::File.exists?("/etc/SuSE-release") ||
209
+ ( ::File.exists?("/etc/os-release") && /sles|suse/.match?(File.read("/etc/os-release")) )
209
210
  end
210
211
 
211
212
  def root?
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Copyright (c) 2016 Chef Software Inc.
2
+ # Copyright:: Copyright 2016-2018, Chef Software Inc.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Copyright (c) 2016-2017, Chef Software Inc.
2
+ # Copyright:: Copyright (c) 2016-2018, Chef Software Inc.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,31 +15,16 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
+ require "bundler"
19
+
18
20
  desc "Tasks to update and check dependencies"
19
21
  namespace :dependencies do
20
22
 
21
- # Running update_ci on your local system wont' work. The best way to update
22
- # dependencies locally is by running the dependency update script.
23
- desc "Update all dependencies. dependencies:update to update as little as possible."
24
- task :update do |t, rake_args|
25
- # FIXME: probably broken, and needs less indirection
26
- system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
27
- end
28
-
29
- desc "Force update (when adding new gems to Gemfiles)"
30
- task :force_update do |t, rake_args|
31
- # FIXME: probably broken, and needs less indirection
32
- FileUtils.rm_f(File.join(Dir.pwd, ".bundle", "config"))
33
- system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
34
- end
35
-
36
23
  # Update all dependencies to the latest constraint-matching version
37
- desc "Update all dependencies. dependencies:update to update as little as possible (CI-only)."
38
- task :update_ci => %w{
24
+ desc "Update all dependencies."
25
+ task update: %w{
39
26
  dependencies:update_gemfile_lock
40
27
  dependencies:update_omnibus_gemfile_lock
41
- dependencies:update_acceptance_gemfile_lock
42
- dependencies:update_audit_tests_berksfile_lock
43
28
  }
44
29
 
45
30
  def bundle_update_locked_multiplatform_task(task_name, dir)
@@ -67,26 +52,7 @@ namespace :dependencies do
67
52
  end
68
53
  end
69
54
 
70
- def berks_update_task(task_name, dir)
71
- desc "Update #{dir}/Berksfile.lock."
72
- task task_name do
73
- FileUtils.rm_f("#{dir}/Berksfile.lock")
74
- Dir.chdir(dir) do
75
- Bundler.with_clean_env do
76
- sh "bundle exec berks install"
77
- end
78
- end
79
- end
80
- end
81
-
82
55
  bundle_update_locked_multiplatform_task :update_gemfile_lock, "."
83
56
  bundle_update_locked_multiplatform_task :update_omnibus_gemfile_lock, "omnibus"
84
- bundle_update_task :update_acceptance_gemfile_lock, "acceptance"
85
- berks_update_task :update_audit_tests_berksfile_lock, "kitchen-tests/cookbooks/audit_test"
86
57
 
87
58
  end
88
-
89
- desc "Update all dependencies and check for outdated gems."
90
- task :dependencies_ci => [ "dependencies:update_ci" ]
91
- task :dependencies => [ "dependencies:update" ]
92
- task :update => [ "dependencies:update" ]
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright:: Copyright 2015-2016, Chef Software, Inc.
2
+ # Copyright:: Copyright 2015-2018, Chef Software Inc.
3
3
  # License:: Apache License, Version 2.0
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,7 +25,7 @@ REPOSITORIES = ["chef/chef", "chef/chef-dk", "chef/chef-census", "chef/chef-repo
25
25
  "chef/client-docs", "chef/ffi-yajl", "chef/libyajl2-gem",
26
26
  "chef/mixlib-authentication", "chef/mixlib-cli",
27
27
  "chef/mixlib-config", "chef/mixlib-install", "chef/mixlib-log",
28
- "chef/mixlib-shellout", "chef/ohai", "chef/omnibus-chef"]
28
+ "chef/mixlib-shellout", "chef/ohai", "chef/omnibus-chef"].freeze
29
29
 
30
30
  begin
31
31
  require "tomlrb"
@@ -33,7 +33,7 @@ begin
33
33
  require "pp"
34
34
 
35
35
  namespace :maintainers do
36
- task :default => :generate
36
+ task default: :generate
37
37
 
38
38
  desc "Generate MarkDown version of MAINTAINERS file"
39
39
  task :generate do
@@ -63,7 +63,7 @@ begin
63
63
  end
64
64
 
65
65
  def github
66
- @github ||= Octokit::Client.new(:netrc => true)
66
+ @github ||= Octokit::Client.new(netrc: true)
67
67
  end
68
68
 
69
69
  def source
@@ -131,7 +131,7 @@ begin
131
131
  else
132
132
  %w{maintainers lieutenant title}.each { |k| cmp.delete(k) }
133
133
  end
134
- cmp.each { |_k, v| prepare_teams(v) }
134
+ cmp.each_value { |v| prepare_teams(v) }
135
135
  end
136
136
 
137
137
  def update_team(team, additions, deletions)
@@ -181,15 +181,15 @@ begin
181
181
 
182
182
  def format_components(cmp)
183
183
  out = "## " + cmp.delete("title") + "\n\n"
184
- out << cmp.delete("text") + "\n" if cmp.has_key?("text")
185
- out << "To mention the team, use @chef/#{cmp.delete("team")}\n\n" if cmp.has_key?("team")
186
- if cmp.has_key?("lieutenant")
184
+ out << cmp.delete("text") + "\n" if cmp.key?("text")
185
+ out << "To mention the team, use @chef/#{cmp.delete("team")}\n\n" if cmp.key?("team")
186
+ if cmp.key?("lieutenant")
187
187
  out << "### Lieutenant\n\n"
188
188
  out << format_person(cmp.delete("lieutenant")) + "\n\n"
189
189
  end
190
- out << format_maintainers(cmp.delete("maintainers")) + "\n" if cmp.has_key?("maintainers")
190
+ out << format_maintainers(cmp.delete("maintainers")) + "\n" if cmp.key?("maintainers")
191
191
  cmp.delete("paths")
192
- cmp.each { |k, v| out << format_components(v) }
192
+ cmp.each_value { |v| out << format_components(v) }
193
193
  out
194
194
  end
195
195
 
@@ -35,9 +35,9 @@ begin
35
35
  end
36
36
  end
37
37
 
38
- task :default => :spec
38
+ task default: :spec
39
39
 
40
- task :spec => :component_specs
40
+ task spec: :component_specs
41
41
 
42
42
  desc "Run standard specs (minus long running specs)"
43
43
  RSpec::Core::RakeTask.new(:spec) do |t|
@@ -9,7 +9,7 @@ We have selected <%= @version %> as our Chef v<%= @maj_minor %> release candidat
9
9
  Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
10
10
 
11
11
  # Get the Build
12
- As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/current/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
12
+ As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/current/<%= @version %>) or by using the `mixlib-install` command line utility:
13
13
 
14
14
  ```shell
15
15
  $ mixlib-install download chef -v <%= @version %> -c current
@@ -21,6 +21,15 @@ Alternatively, you can install Chef using one of the following command options:
21
21
  # In Shell
22
22
  $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @version %> -c current
23
23
 
24
- # In Windows Powershell
24
+ # In Windows PowerShell
25
25
  . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %> -channel current
26
26
  ```
27
+
28
+ If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file:
29
+
30
+ ```yaml
31
+ provisioner:
32
+ product_name: chef
33
+ channel: current
34
+ product_version: <%= @version %>
35
+ ```
@@ -9,7 +9,7 @@ We're happy to announce the release of Chef v<%= @maj_minor %>!
9
9
  Please see the [CHANGELOG](https://github.com/chef/chef/blob/master/CHANGELOG.md) for the complete list of changes.
10
10
 
11
11
  # Get the Build
12
- As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/<%= @version %>) or by using the new `mixlib-install` command line utility available in ChefDK 0.19.6 or greater.
12
+ As always, you can download binaries directly from [downloads.chef.io](https://downloads.chef.io/chef/<%= @version %>) or by using the `mixlib-install` command line utility:
13
13
 
14
14
  ```shell
15
15
  $ mixlib-install download chef -v <%= @version %>
@@ -24,3 +24,11 @@ $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @ve
24
24
  # In Windows Powershell
25
25
  . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %>
26
26
  ```
27
+
28
+ If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file:
29
+
30
+ ```yaml
31
+ provisioner:
32
+ product_name: chef
33
+ product_version: <%= @version %>
34
+ ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.11.3
4
+ version: 13.12.3
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-26 00:00:00.000000000 Z
11
+ date: 2018-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.11.3
19
+ version: 13.12.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.11.3
26
+ version: 13.12.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -298,14 +298,14 @@ dependencies:
298
298
  requirements:
299
299
  - - "~>"
300
300
  - !ruby/object:Gem::Version
301
- version: 0.9.1
301
+ version: 0.12.1
302
302
  type: :runtime
303
303
  prerelease: false
304
304
  version_requirements: !ruby/object:Gem::Requirement
305
305
  requirements:
306
306
  - - "~>"
307
307
  - !ruby/object:Gem::Version
308
- version: 0.9.1
308
+ version: 0.12.1
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: rspec-core
311
311
  requirement: !ruby/object:Gem::Requirement
@@ -633,89 +633,12 @@ extensions:
633
633
  - ext/win32-eventlog/Rakefile
634
634
  extra_rdoc_files:
635
635
  - README.md
636
- - CONTRIBUTING.md
637
636
  - LICENSE
638
637
  files:
639
- - CONTRIBUTING.md
640
638
  - Gemfile
641
639
  - LICENSE
642
640
  - README.md
643
641
  - Rakefile
644
- - VERSION
645
- - acceptance/.gitignore
646
- - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
647
- - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
648
- - acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml
649
- - acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb
650
- - acceptance/.shared/kitchen_acceptance/metadata.rb
651
- - acceptance/Gemfile
652
- - acceptance/Gemfile.lock
653
- - acceptance/README.md
654
- - acceptance/basics/.acceptance/acceptance-cookbook/.gitignore
655
- - acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb
656
- - acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb
657
- - acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb
658
- - acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb
659
- - acceptance/basics/.kitchen.yml
660
- - acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
661
- - acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
662
- - acceptance/basics/test/integration/helpers/serverspec/Gemfile
663
- - acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
664
- - acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
665
- - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
666
- - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb
667
- - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb
668
- - acceptance/data-collector/.acceptance/data-collector-test/.gitignore
669
- - acceptance/data-collector/.acceptance/data-collector-test/Berksfile
670
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb
671
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile
672
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb
673
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb
674
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb
675
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb
676
- - acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru
677
- - acceptance/data-collector/.acceptance/data-collector-test/metadata.rb
678
- - acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb
679
- - acceptance/data-collector/.kitchen.yml
680
- - acceptance/data-collector/Berksfile
681
- - acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
682
- - acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
683
- - acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore
684
- - acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb
685
- - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb
686
- - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb
687
- - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb
688
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore
689
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb
690
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb
691
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb
692
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb
693
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb
694
- - acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb
695
- - acceptance/top-cookbooks/.gitignore
696
- - acceptance/top-cookbooks/.kitchen.chocolatey.yml
697
- - acceptance/top-cookbooks/.kitchen.iis.yml
698
- - acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml
699
- - acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml
700
- - acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml
701
- - acceptance/top-cookbooks/.kitchen.powershell.yml
702
- - acceptance/top-cookbooks/.kitchen.sql_server.yml
703
- - acceptance/top-cookbooks/.kitchen.winbox.yml
704
- - acceptance/top-cookbooks/.kitchen.windows.yml
705
- - acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore
706
- - acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb
707
- - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb
708
- - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb
709
- - acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb
710
- - acceptance/trivial/.kitchen.yml
711
- - acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb
712
- - acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore
713
- - acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb
714
- - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb
715
- - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb
716
- - acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb
717
- - acceptance/windows-service/.kitchen.yml
718
- - acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb
719
642
  - bin/chef-apply
720
643
  - bin/chef-client
721
644
  - bin/chef-service-manager
@@ -725,169 +648,6 @@ files:
725
648
  - bin/knife
726
649
  - chef-universal-mingw32.gemspec
727
650
  - chef.gemspec
728
- - distro/common/html/_sources/ctl_chef_client.txt
729
- - distro/common/html/_sources/ctl_chef_server.txt
730
- - distro/common/html/_sources/ctl_chef_shell.txt
731
- - distro/common/html/_sources/ctl_chef_solo.txt
732
- - distro/common/html/_sources/index.txt
733
- - distro/common/html/_sources/knife.txt
734
- - distro/common/html/_sources/knife_bootstrap.txt
735
- - distro/common/html/_sources/knife_client.txt
736
- - distro/common/html/_sources/knife_common_options.txt
737
- - distro/common/html/_sources/knife_configure.txt
738
- - distro/common/html/_sources/knife_cookbook.txt
739
- - distro/common/html/_sources/knife_cookbook_site.txt
740
- - distro/common/html/_sources/knife_data_bag.txt
741
- - distro/common/html/_sources/knife_delete.txt
742
- - distro/common/html/_sources/knife_deps.txt
743
- - distro/common/html/_sources/knife_diff.txt
744
- - distro/common/html/_sources/knife_download.txt
745
- - distro/common/html/_sources/knife_edit.txt
746
- - distro/common/html/_sources/knife_environment.txt
747
- - distro/common/html/_sources/knife_exec.txt
748
- - distro/common/html/_sources/knife_index_rebuild.txt
749
- - distro/common/html/_sources/knife_list.txt
750
- - distro/common/html/_sources/knife_node.txt
751
- - distro/common/html/_sources/knife_raw.txt
752
- - distro/common/html/_sources/knife_recipe_list.txt
753
- - distro/common/html/_sources/knife_role.txt
754
- - distro/common/html/_sources/knife_search.txt
755
- - distro/common/html/_sources/knife_serve.txt
756
- - distro/common/html/_sources/knife_show.txt
757
- - distro/common/html/_sources/knife_ssh.txt
758
- - distro/common/html/_sources/knife_ssl_check.txt
759
- - distro/common/html/_sources/knife_ssl_fetch.txt
760
- - distro/common/html/_sources/knife_status.txt
761
- - distro/common/html/_sources/knife_tag.txt
762
- - distro/common/html/_sources/knife_upload.txt
763
- - distro/common/html/_sources/knife_user.txt
764
- - distro/common/html/_sources/knife_using.txt
765
- - distro/common/html/_sources/knife_xargs.txt
766
- - distro/common/html/_static/ajax-loader.gif
767
- - distro/common/html/_static/basic.css
768
- - distro/common/html/_static/chef.ico
769
- - distro/common/html/_static/chef_html_logo.png
770
- - distro/common/html/_static/comment-bright.png
771
- - distro/common/html/_static/comment-close.png
772
- - distro/common/html/_static/comment.png
773
- - distro/common/html/_static/contents.png
774
- - distro/common/html/_static/doctools.js
775
- - distro/common/html/_static/down-pressed.png
776
- - distro/common/html/_static/down.png
777
- - distro/common/html/_static/file.png
778
- - distro/common/html/_static/guide.css
779
- - distro/common/html/_static/jquery.js
780
- - distro/common/html/_static/minus.png
781
- - distro/common/html/_static/navigation.png
782
- - distro/common/html/_static/plus.png
783
- - distro/common/html/_static/pygments.css
784
- - distro/common/html/_static/searchtools.js
785
- - distro/common/html/_static/underscore.js
786
- - distro/common/html/_static/up-pressed.png
787
- - distro/common/html/_static/up.png
788
- - distro/common/html/_static/websupport.js
789
- - distro/common/html/ctl_chef_client.html
790
- - distro/common/html/ctl_chef_server.html
791
- - distro/common/html/ctl_chef_shell.html
792
- - distro/common/html/ctl_chef_solo.html
793
- - distro/common/html/index.html
794
- - distro/common/html/knife.html
795
- - distro/common/html/knife_bootstrap.html
796
- - distro/common/html/knife_client.html
797
- - distro/common/html/knife_common_options.html
798
- - distro/common/html/knife_configure.html
799
- - distro/common/html/knife_cookbook.html
800
- - distro/common/html/knife_cookbook_site.html
801
- - distro/common/html/knife_data_bag.html
802
- - distro/common/html/knife_delete.html
803
- - distro/common/html/knife_deps.html
804
- - distro/common/html/knife_diff.html
805
- - distro/common/html/knife_download.html
806
- - distro/common/html/knife_edit.html
807
- - distro/common/html/knife_environment.html
808
- - distro/common/html/knife_exec.html
809
- - distro/common/html/knife_index_rebuild.html
810
- - distro/common/html/knife_list.html
811
- - distro/common/html/knife_node.html
812
- - distro/common/html/knife_raw.html
813
- - distro/common/html/knife_recipe_list.html
814
- - distro/common/html/knife_role.html
815
- - distro/common/html/knife_search.html
816
- - distro/common/html/knife_serve.html
817
- - distro/common/html/knife_show.html
818
- - distro/common/html/knife_ssh.html
819
- - distro/common/html/knife_ssl_check.html
820
- - distro/common/html/knife_ssl_fetch.html
821
- - distro/common/html/knife_status.html
822
- - distro/common/html/knife_tag.html
823
- - distro/common/html/knife_upload.html
824
- - distro/common/html/knife_user.html
825
- - distro/common/html/knife_using.html
826
- - distro/common/html/knife_xargs.html
827
- - distro/common/html/objects.inv
828
- - distro/common/html/search.html
829
- - distro/common/html/searchindex.js
830
- - distro/common/man/man1/README.md
831
- - distro/common/man/man1/chef-shell.1
832
- - distro/common/man/man1/knife-bootstrap.1
833
- - distro/common/man/man1/knife-client.1
834
- - distro/common/man/man1/knife-configure.1
835
- - distro/common/man/man1/knife-cookbook-site.1
836
- - distro/common/man/man1/knife-cookbook.1
837
- - distro/common/man/man1/knife-data-bag.1
838
- - distro/common/man/man1/knife-delete.1
839
- - distro/common/man/man1/knife-deps.1
840
- - distro/common/man/man1/knife-diff.1
841
- - distro/common/man/man1/knife-download.1
842
- - distro/common/man/man1/knife-edit.1
843
- - distro/common/man/man1/knife-environment.1
844
- - distro/common/man/man1/knife-exec.1
845
- - distro/common/man/man1/knife-index-rebuild.1
846
- - distro/common/man/man1/knife-list.1
847
- - distro/common/man/man1/knife-node.1
848
- - distro/common/man/man1/knife-raw.1
849
- - distro/common/man/man1/knife-recipe-list.1
850
- - distro/common/man/man1/knife-role.1
851
- - distro/common/man/man1/knife-search.1
852
- - distro/common/man/man1/knife-serve.1
853
- - distro/common/man/man1/knife-show.1
854
- - distro/common/man/man1/knife-ssh.1
855
- - distro/common/man/man1/knife-ssl-check.1
856
- - distro/common/man/man1/knife-ssl-fetch.1
857
- - distro/common/man/man1/knife-status.1
858
- - distro/common/man/man1/knife-tag.1
859
- - distro/common/man/man1/knife-upload.1
860
- - distro/common/man/man1/knife-user.1
861
- - distro/common/man/man1/knife-xargs.1
862
- - distro/common/man/man1/knife.1
863
- - distro/common/man/man8/chef-apply.8
864
- - distro/common/man/man8/chef-client.8
865
- - distro/common/man/man8/chef-solo.8
866
- - distro/common/markdown/README
867
- - distro/common/markdown/man1/chef-shell.mkd
868
- - distro/common/markdown/man1/knife-bootstrap.mkd
869
- - distro/common/markdown/man1/knife-client.mkd
870
- - distro/common/markdown/man1/knife-configure.mkd
871
- - distro/common/markdown/man1/knife-cookbook-site.mkd
872
- - distro/common/markdown/man1/knife-cookbook.mkd
873
- - distro/common/markdown/man1/knife-data-bag.mkd
874
- - distro/common/markdown/man1/knife-environment.mkd
875
- - distro/common/markdown/man1/knife-exec.mkd
876
- - distro/common/markdown/man1/knife-index.mkd
877
- - distro/common/markdown/man1/knife-node.mkd
878
- - distro/common/markdown/man1/knife-role.mkd
879
- - distro/common/markdown/man1/knife-search.mkd
880
- - distro/common/markdown/man1/knife-ssh.mkd
881
- - distro/common/markdown/man1/knife-status.mkd
882
- - distro/common/markdown/man1/knife-tag.mkd
883
- - distro/common/markdown/man1/knife.mkd
884
- - distro/common/markdown/man8/chef-client.mkd
885
- - distro/common/markdown/man8/chef-expander.mkd
886
- - distro/common/markdown/man8/chef-expanderctl.mkd
887
- - distro/common/markdown/man8/chef-server-webui.mkd
888
- - distro/common/markdown/man8/chef-server.mkd
889
- - distro/common/markdown/man8/chef-solo.mkd
890
- - distro/common/markdown/man8/chef-solr.mkd
891
651
  - distro/powershell/chef/chef.psm1
892
652
  - ext/win32-eventlog/Rakefile
893
653
  - ext/win32-eventlog/chef-log.man
@@ -2798,7 +2558,6 @@ files:
2798
2558
  - spec/unit/windows_service_spec.rb
2799
2559
  - tasks/announce.rb
2800
2560
  - tasks/bin/run_external_test
2801
- - tasks/cbgb.rb
2802
2561
  - tasks/dependencies.rb
2803
2562
  - tasks/maintainers.rb
2804
2563
  - tasks/rspec.rb