chef 11.10.0.rc.0-x86-mingw32 → 11.10.0.rc.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (401) hide show
  1. data/Rakefile +0 -75
  2. data/distro/common/html/_sources/ctl_chef_client.txt +36 -0
  3. data/distro/common/html/_sources/ctl_chef_server.txt +26 -0
  4. data/distro/common/html/_sources/ctl_chef_shell.txt +15 -0
  5. data/distro/common/html/_sources/ctl_chef_solo.txt +25 -0
  6. data/distro/common/html/_sources/index.txt +126 -0
  7. data/distro/common/html/_sources/knife.txt +74 -0
  8. data/distro/common/html/_sources/knife_bootstrap.txt +56 -0
  9. data/distro/common/html/_sources/knife_client.txt +151 -0
  10. data/distro/common/html/_sources/knife_common_options.txt +6 -0
  11. data/distro/common/html/_sources/knife_configure.txt +29 -0
  12. data/distro/common/html/_sources/knife_cookbook.txt +236 -0
  13. data/distro/common/html/_sources/knife_cookbook_site.txt +157 -0
  14. data/distro/common/html/_sources/knife_data_bag.txt +160 -0
  15. data/distro/common/html/_sources/knife_delete.txt +26 -0
  16. data/distro/common/html/_sources/knife_deps.txt +61 -0
  17. data/distro/common/html/_sources/knife_diff.txt +34 -0
  18. data/distro/common/html/_sources/knife_download.txt +44 -0
  19. data/distro/common/html/_sources/knife_edit.txt +26 -0
  20. data/distro/common/html/_sources/knife_environment.txt +158 -0
  21. data/distro/common/html/_sources/knife_exec.txt +47 -0
  22. data/distro/common/html/_sources/knife_index_rebuild.txt +21 -0
  23. data/distro/common/html/_sources/knife_list.txt +33 -0
  24. data/distro/common/html/_sources/knife_node.txt +250 -0
  25. data/distro/common/html/_sources/knife_raw.txt +35 -0
  26. data/distro/common/html/_sources/knife_recipe_list.txt +23 -0
  27. data/distro/common/html/_sources/knife_role.txt +157 -0
  28. data/distro/common/html/_sources/knife_search.txt +53 -0
  29. data/distro/common/html/_sources/knife_show.txt +27 -0
  30. data/distro/common/html/_sources/knife_ssh.txt +43 -0
  31. data/distro/common/html/_sources/knife_status.txt +37 -0
  32. data/distro/common/html/_sources/knife_tag.txt +69 -0
  33. data/distro/common/html/_sources/knife_upload.txt +49 -0
  34. data/distro/common/html/_sources/knife_user.txt +127 -0
  35. data/distro/common/html/_sources/knife_using.txt +43 -0
  36. data/distro/common/html/_sources/knife_xargs.txt +30 -0
  37. data/distro/common/html/_static/ajax-loader.gif +0 -0
  38. data/distro/common/html/_static/basic.css +540 -0
  39. data/distro/common/html/_static/chef.css +507 -0
  40. data/distro/common/html/_static/chef.ico +0 -0
  41. data/distro/common/html/_static/chef_html_logo.png +0 -0
  42. data/distro/common/html/_static/chef_logo.png +0 -0
  43. data/distro/common/html/_static/comment-bright.png +0 -0
  44. data/distro/common/html/_static/comment-close.png +0 -0
  45. data/distro/common/html/_static/comment.png +0 -0
  46. data/distro/common/html/_static/contents.png +0 -0
  47. data/distro/common/html/_static/doctools.js +247 -0
  48. data/distro/common/html/_static/down-pressed.png +0 -0
  49. data/distro/common/html/_static/down.png +0 -0
  50. data/distro/common/html/_static/file.png +0 -0
  51. data/distro/common/html/_static/guide.css +505 -0
  52. data/distro/common/html/_static/jquery.js +154 -0
  53. data/distro/common/html/_static/minus.png +0 -0
  54. data/distro/common/html/_static/navigation.png +0 -0
  55. data/distro/common/html/_static/plus.png +0 -0
  56. data/distro/common/html/_static/pygments.css +62 -0
  57. data/distro/common/html/_static/searchtools.js +560 -0
  58. data/distro/common/html/_static/underscore.js +23 -0
  59. data/distro/common/html/_static/up-pressed.png +0 -0
  60. data/distro/common/html/_static/up.png +0 -0
  61. data/distro/common/html/_static/websupport.js +808 -0
  62. data/distro/common/html/ctl_chef_client.html +219 -0
  63. data/distro/common/html/ctl_chef_server.html +111 -0
  64. data/distro/common/html/ctl_chef_shell.html +120 -0
  65. data/distro/common/html/ctl_chef_solo.html +144 -0
  66. data/distro/common/html/index.html +185 -0
  67. data/distro/common/html/knife.html +172 -0
  68. data/distro/common/html/knife_bootstrap.html +250 -0
  69. data/distro/common/html/knife_client.html +283 -0
  70. data/distro/common/html/knife_common_options.html +98 -0
  71. data/distro/common/html/knife_configure.html +107 -0
  72. data/distro/common/html/knife_cookbook.html +481 -0
  73. data/distro/common/html/knife_cookbook_site.html +372 -0
  74. data/distro/common/html/knife_data_bag.html +359 -0
  75. data/distro/common/html/knife_delete.html +95 -0
  76. data/distro/common/html/knife_deps.html +145 -0
  77. data/distro/common/html/knife_diff.html +125 -0
  78. data/distro/common/html/knife_download.html +147 -0
  79. data/distro/common/html/knife_edit.html +91 -0
  80. data/distro/common/html/knife_environment.html +328 -0
  81. data/distro/common/html/knife_exec.html +222 -0
  82. data/distro/common/html/knife_index_rebuild.html +85 -0
  83. data/distro/common/html/knife_list.html +116 -0
  84. data/distro/common/html/knife_node.html +450 -0
  85. data/distro/common/html/knife_raw.html +112 -0
  86. data/distro/common/html/knife_recipe_list.html +93 -0
  87. data/distro/common/html/knife_role.html +295 -0
  88. data/distro/common/html/knife_search.html +204 -0
  89. data/distro/common/html/knife_show.html +106 -0
  90. data/distro/common/html/knife_ssh.html +179 -0
  91. data/distro/common/html/knife_status.html +142 -0
  92. data/distro/common/html/knife_tag.html +140 -0
  93. data/distro/common/html/knife_upload.html +155 -0
  94. data/distro/common/html/knife_user.html +244 -0
  95. data/distro/common/html/knife_using.html +211 -0
  96. data/distro/common/html/knife_xargs.html +115 -0
  97. data/distro/common/html/objects.inv +0 -0
  98. data/distro/common/html/search.html +84 -0
  99. data/distro/common/html/searchindex.js +1 -0
  100. data/distro/common/man/man1/chef-shell.1 +5 -5
  101. data/distro/common/man/man1/knife-bootstrap.1 +6 -9
  102. data/distro/common/man/man1/knife-client.1 +1 -9
  103. data/distro/common/man/man1/knife-configure.1 +10 -6
  104. data/distro/common/man/man1/knife-cookbook-site.1 +1 -9
  105. data/distro/common/man/man1/knife-cookbook.1 +11 -21
  106. data/distro/common/man/man1/knife-data-bag.1 +8 -22
  107. data/distro/common/man/man1/knife-delete.1 +1 -1
  108. data/distro/common/man/man1/knife-deps.1 +4 -12
  109. data/distro/common/man/man1/knife-diff.1 +1 -1
  110. data/distro/common/man/man1/knife-download.1 +2 -2
  111. data/distro/common/man/man1/knife-edit.1 +1 -1
  112. data/distro/common/man/man1/knife-environment.1 +108 -9
  113. data/distro/common/man/man1/knife-exec.1 +1 -15
  114. data/distro/common/man/man1/knife-index-rebuild.1 +1 -1
  115. data/distro/common/man/man1/knife-list.1 +1 -1
  116. data/distro/common/man/man1/knife-node.1 +3 -13
  117. data/distro/common/man/man1/knife-raw.1 +1 -1
  118. data/distro/common/man/man1/knife-recipe-list.1 +1 -1
  119. data/distro/common/man/man1/knife-role.1 +2 -12
  120. data/distro/common/man/man1/knife-search.1 +5 -5
  121. data/distro/common/man/man1/knife-show.1 +1 -3
  122. data/distro/common/man/man1/knife-ssh.1 +1 -5
  123. data/distro/common/man/man1/knife-status.1 +1 -1
  124. data/distro/common/man/man1/knife-tag.1 +1 -9
  125. data/distro/common/man/man1/knife-upload.1 +7 -9
  126. data/distro/common/man/man1/knife-user.1 +3 -17
  127. data/distro/common/man/man1/knife-xargs.1 +1 -3
  128. data/distro/common/man/man8/chef-client.8 +18 -18
  129. data/distro/common/man/man8/chef-solo.8 +12 -6
  130. data/lib/chef/client.rb +9 -5
  131. data/lib/chef/cookbook_uploader.rb +1 -1
  132. data/lib/chef/dsl/recipe.rb +119 -38
  133. data/lib/chef/exceptions.rb +4 -0
  134. data/lib/chef/policy_builder/expand_node_object.rb +11 -4
  135. data/lib/chef/policy_builder/policyfile.rb +7 -1
  136. data/lib/chef/provider/file.rb +1 -0
  137. data/lib/chef/resource_platform_map.rb +1 -1
  138. data/lib/chef/resource_reporter.rb +2 -2
  139. data/lib/chef/version.rb +1 -1
  140. data/spec/functional/knife/cookbook_delete_spec.rb +9 -9
  141. data/spec/functional/knife/ssh_spec.rb +1 -1
  142. data/spec/functional/resource/link_spec.rb +6 -6
  143. data/spec/functional/resource/registry_spec.rb +7 -7
  144. data/spec/functional/run_lock_spec.rb +1 -1
  145. data/spec/integration/knife/download_spec.rb +1 -1
  146. data/spec/integration/solo/solo_spec.rb +1 -1
  147. data/spec/spec_helper.rb +0 -1
  148. data/spec/stress/win32/file_spec.rb +6 -0
  149. data/spec/support/lib/chef/resource/zen_master.rb +1 -1
  150. data/spec/support/mock/platform.rb +1 -1
  151. data/spec/support/shared/functional/file_resource.rb +0 -2
  152. data/spec/support/shared/functional/securable_resource.rb +2 -2
  153. data/spec/support/shared/unit/api_error_inspector.rb +7 -7
  154. data/spec/support/shared/unit/provider/file.rb +47 -8
  155. data/spec/support/shared/unit/provider/useradd_based_user_provider.rb +23 -23
  156. data/spec/unit/api_client/registration_spec.rb +5 -5
  157. data/spec/unit/api_client_spec.rb +2 -2
  158. data/spec/unit/application/apply.rb +6 -6
  159. data/spec/unit/application/client_spec.rb +6 -6
  160. data/spec/unit/application/knife_spec.rb +5 -5
  161. data/spec/unit/application/solo_spec.rb +13 -13
  162. data/spec/unit/application_spec.rb +19 -19
  163. data/spec/unit/checksum/storage/filesystem_spec.rb +2 -2
  164. data/spec/unit/client_spec.rb +23 -23
  165. data/spec/unit/config_spec.rb +4 -4
  166. data/spec/unit/cookbook/metadata_spec.rb +22 -22
  167. data/spec/unit/cookbook/synchronizer_spec.rb +17 -17
  168. data/spec/unit/daemon_spec.rb +21 -22
  169. data/spec/unit/data_bag_item_spec.rb +8 -8
  170. data/spec/unit/data_bag_spec.rb +6 -6
  171. data/spec/unit/deprecation_spec.rb +1 -1
  172. data/spec/unit/dsl/data_query_spec.rb +1 -1
  173. data/spec/unit/environment_spec.rb +5 -5
  174. data/spec/unit/file_access_control_spec.rb +5 -5
  175. data/spec/unit/file_cache_spec.rb +1 -1
  176. data/spec/unit/file_content_management/deploy/mv_unix_spec.rb +1 -1
  177. data/spec/unit/file_content_management/deploy/mv_windows_spec.rb +12 -12
  178. data/spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb +4 -4
  179. data/spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb +4 -4
  180. data/spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb +1 -1
  181. data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +6 -6
  182. data/spec/unit/formatters/error_inspectors/run_list_expansion_error_inspector_spec.rb +4 -4
  183. data/spec/unit/handler/json_file_spec.rb +1 -1
  184. data/spec/unit/handler_spec.rb +3 -3
  185. data/spec/unit/knife/bootstrap_spec.rb +17 -17
  186. data/spec/unit/knife/client_bulk_delete_spec.rb +4 -4
  187. data/spec/unit/knife/client_create_spec.rb +7 -7
  188. data/spec/unit/knife/client_reregister_spec.rb +2 -2
  189. data/spec/unit/knife/client_show_spec.rb +1 -1
  190. data/spec/unit/knife/config_file_selection_spec.rb +4 -4
  191. data/spec/unit/knife/configure_client_spec.rb +4 -4
  192. data/spec/unit/knife/configure_spec.rb +16 -16
  193. data/spec/unit/knife/cookbook_bulk_delete_spec.rb +10 -10
  194. data/spec/unit/knife/cookbook_create_spec.rb +5 -5
  195. data/spec/unit/knife/cookbook_delete_spec.rb +6 -6
  196. data/spec/unit/knife/cookbook_download_spec.rb +10 -10
  197. data/spec/unit/knife/cookbook_list_spec.rb +3 -3
  198. data/spec/unit/knife/cookbook_metadata_from_file_spec.rb +2 -2
  199. data/spec/unit/knife/cookbook_metadata_spec.rb +8 -8
  200. data/spec/unit/knife/cookbook_show_spec.rb +4 -4
  201. data/spec/unit/knife/cookbook_site_download_spec.rb +3 -3
  202. data/spec/unit/knife/cookbook_site_install_spec.rb +8 -8
  203. data/spec/unit/knife/cookbook_site_share_spec.rb +22 -22
  204. data/spec/unit/knife/cookbook_site_unshare_spec.rb +8 -8
  205. data/spec/unit/knife/cookbook_test_spec.rb +7 -7
  206. data/spec/unit/knife/cookbook_upload_spec.rb +20 -20
  207. data/spec/unit/knife/core/cookbook_scm_repo_spec.rb +6 -6
  208. data/spec/unit/knife/core/object_loader_spec.rb +1 -1
  209. data/spec/unit/knife/core/ui_spec.rb +19 -21
  210. data/spec/unit/knife/data_bag_create_spec.rb +4 -4
  211. data/spec/unit/knife/data_bag_edit_spec.rb +7 -7
  212. data/spec/unit/knife/data_bag_from_file_spec.rb +15 -15
  213. data/spec/unit/knife/data_bag_show_spec.rb +5 -5
  214. data/spec/unit/knife/environment_create_spec.rb +6 -6
  215. data/spec/unit/knife/environment_delete_spec.rb +6 -6
  216. data/spec/unit/knife/environment_edit_spec.rb +5 -5
  217. data/spec/unit/knife/environment_from_file_spec.rb +7 -7
  218. data/spec/unit/knife/environment_list_spec.rb +4 -4
  219. data/spec/unit/knife/environment_show_spec.rb +4 -4
  220. data/spec/unit/knife/index_rebuild_spec.rb +2 -2
  221. data/spec/unit/knife/knife_help.rb +11 -11
  222. data/spec/unit/knife/node_bulk_delete_spec.rb +4 -4
  223. data/spec/unit/knife/node_delete_spec.rb +5 -5
  224. data/spec/unit/knife/node_edit_spec.rb +2 -2
  225. data/spec/unit/knife/node_from_file_spec.rb +5 -5
  226. data/spec/unit/knife/node_list_spec.rb +3 -3
  227. data/spec/unit/knife/node_run_list_add_spec.rb +3 -3
  228. data/spec/unit/knife/node_run_list_remove_spec.rb +4 -4
  229. data/spec/unit/knife/node_run_list_set_spec.rb +5 -5
  230. data/spec/unit/knife/node_show_spec.rb +2 -2
  231. data/spec/unit/knife/role_bulk_delete_spec.rb +4 -4
  232. data/spec/unit/knife/role_create_spec.rb +5 -5
  233. data/spec/unit/knife/role_delete_spec.rb +5 -5
  234. data/spec/unit/knife/role_edit_spec.rb +5 -5
  235. data/spec/unit/knife/role_from_file_spec.rb +5 -5
  236. data/spec/unit/knife/role_list_spec.rb +2 -2
  237. data/spec/unit/knife/ssh_spec.rb +6 -6
  238. data/spec/unit/knife/status_spec.rb +4 -4
  239. data/spec/unit/knife/tag_create_spec.rb +3 -3
  240. data/spec/unit/knife/tag_delete_spec.rb +3 -3
  241. data/spec/unit/knife/tag_list_spec.rb +2 -2
  242. data/spec/unit/knife/user_create_spec.rb +7 -7
  243. data/spec/unit/knife/user_reregister_spec.rb +3 -3
  244. data/spec/unit/knife/user_show_spec.rb +1 -1
  245. data/spec/unit/knife_spec.rb +29 -29
  246. data/spec/unit/lwrp_spec.rb +2 -2
  247. data/spec/unit/mixin/checksum_spec.rb +2 -2
  248. data/spec/unit/mixin/command_spec.rb +1 -1
  249. data/spec/unit/mixin/enforce_ownership_and_permissions_spec.rb +4 -4
  250. data/spec/unit/mixin/params_validate_spec.rb +17 -17
  251. data/spec/unit/mixin/path_sanity_spec.rb +8 -8
  252. data/spec/unit/mixin/securable_spec.rb +87 -87
  253. data/spec/unit/mixin/shell_out_spec.rb +1 -1
  254. data/spec/unit/mixin/template_spec.rb +2 -2
  255. data/spec/unit/node/attribute_spec.rb +3 -3
  256. data/spec/unit/node_spec.rb +12 -12
  257. data/spec/unit/platform_spec.rb +1 -1
  258. data/spec/unit/policy_builder/expand_node_object_spec.rb +16 -0
  259. data/spec/unit/policy_builder/policyfile_spec.rb +4 -0
  260. data/spec/unit/provider/breakpoint_spec.rb +8 -8
  261. data/spec/unit/provider/cookbook_file/content_spec.rb +4 -4
  262. data/spec/unit/provider/cookbook_file_spec.rb +1 -1
  263. data/spec/unit/provider/cron/unix_spec.rb +11 -11
  264. data/spec/unit/provider/cron_spec.rb +40 -40
  265. data/spec/unit/provider/deploy/revision_spec.rb +11 -12
  266. data/spec/unit/provider/deploy/timestamped_spec.rb +3 -3
  267. data/spec/unit/provider/deploy_spec.rb +50 -50
  268. data/spec/unit/provider/directory_spec.rb +18 -18
  269. data/spec/unit/provider/env_spec.rb +15 -15
  270. data/spec/unit/provider/erl_call_spec.rb +1 -1
  271. data/spec/unit/provider/execute_spec.rb +5 -5
  272. data/spec/unit/provider/file/content_spec.rb +5 -5
  273. data/spec/unit/provider/file_spec.rb +1 -1
  274. data/spec/unit/provider/git_spec.rb +47 -47
  275. data/spec/unit/provider/group/dscl_spec.rb +16 -15
  276. data/spec/unit/provider/group/gpasswd_spec.rb +6 -5
  277. data/spec/unit/provider/group/groupadd_spec.rb +10 -10
  278. data/spec/unit/provider/group/groupmod_spec.rb +3 -3
  279. data/spec/unit/provider/group/pw_spec.rb +9 -8
  280. data/spec/unit/provider/group/usermod_spec.rb +13 -12
  281. data/spec/unit/provider/group/windows_spec.rb +9 -9
  282. data/spec/unit/provider/group_spec.rb +31 -31
  283. data/spec/unit/provider/http_request_spec.rb +3 -3
  284. data/spec/unit/provider/ifconfig/aix_spec.rb +7 -7
  285. data/spec/unit/provider/ifconfig/debian_spec.rb +3 -3
  286. data/spec/unit/provider/ifconfig/redhat_spec.rb +5 -5
  287. data/spec/unit/provider/ifconfig_spec.rb +13 -13
  288. data/spec/unit/provider/link_spec.rb +33 -33
  289. data/spec/unit/provider/mdadm_spec.rb +4 -4
  290. data/spec/unit/provider/mount/aix_spec.rb +5 -5
  291. data/spec/unit/provider/mount/mount_spec.rb +49 -50
  292. data/spec/unit/provider/mount/windows_spec.rb +18 -18
  293. data/spec/unit/provider/mount_spec.rb +12 -12
  294. data/spec/unit/provider/ohai_spec.rb +6 -6
  295. data/spec/unit/provider/package/aix_spec.rb +14 -14
  296. data/spec/unit/provider/package/apt_spec.rb +10 -10
  297. data/spec/unit/provider/package/dpkg_spec.rb +13 -13
  298. data/spec/unit/provider/package/easy_install_spec.rb +6 -6
  299. data/spec/unit/provider/package/freebsd_spec.rb +29 -29
  300. data/spec/unit/provider/package/ips_spec.rb +4 -4
  301. data/spec/unit/provider/package/macports_spec.rb +6 -6
  302. data/spec/unit/provider/package/pacman_spec.rb +17 -17
  303. data/spec/unit/provider/package/portage_spec.rb +18 -18
  304. data/spec/unit/provider/package/rpm_spec.rb +7 -7
  305. data/spec/unit/provider/package/rubygems_spec.rb +31 -31
  306. data/spec/unit/provider/package/smartos_spec.rb +4 -4
  307. data/spec/unit/provider/package/solaris_spec.rb +15 -15
  308. data/spec/unit/provider/package/yum_spec.rb +100 -100
  309. data/spec/unit/provider/package/zypper_spec.rb +10 -10
  310. data/spec/unit/provider/package_spec.rb +21 -21
  311. data/spec/unit/provider/registry_key_spec.rb +2 -2
  312. data/spec/unit/provider/remote_file/content_spec.rb +31 -31
  313. data/spec/unit/provider/remote_file/fetcher_spec.rb +8 -8
  314. data/spec/unit/provider/remote_file/ftp_spec.rb +10 -10
  315. data/spec/unit/provider/remote_file/http_spec.rb +4 -4
  316. data/spec/unit/provider/remote_file/local_file_spec.rb +2 -2
  317. data/spec/unit/provider/remote_file_spec.rb +1 -1
  318. data/spec/unit/provider/route_spec.rb +23 -23
  319. data/spec/unit/provider/script_spec.rb +5 -5
  320. data/spec/unit/provider/service/arch_service_spec.rb +41 -41
  321. data/spec/unit/provider/service/debian_service_spec.rb +23 -23
  322. data/spec/unit/provider/service/freebsd_service_spec.rb +33 -33
  323. data/spec/unit/provider/service/gentoo_service_spec.rb +16 -16
  324. data/spec/unit/provider/service/init_service_spec.rb +13 -13
  325. data/spec/unit/provider/service/insserv_service_spec.rb +4 -4
  326. data/spec/unit/provider/service/invokercd_service_spec.rb +12 -12
  327. data/spec/unit/provider/service/macosx_spec.rb +20 -20
  328. data/spec/unit/provider/service/redhat_spec.rb +15 -15
  329. data/spec/unit/provider/service/simple_service_spec.rb +9 -9
  330. data/spec/unit/provider/service/solaris_smf_service_spec.rb +13 -13
  331. data/spec/unit/provider/service/systemd_service_spec.rb +28 -28
  332. data/spec/unit/provider/service/upstart_service_spec.rb +41 -41
  333. data/spec/unit/provider/service/windows_spec.rb +37 -37
  334. data/spec/unit/provider/service_spec.rb +9 -9
  335. data/spec/unit/provider/subversion_spec.rb +36 -36
  336. data/spec/unit/provider/template/content_spec.rb +8 -8
  337. data/spec/unit/provider/template_spec.rb +1 -1
  338. data/spec/unit/provider/user/dscl_spec.rb +9 -9
  339. data/spec/unit/provider/user/pw_spec.rb +20 -20
  340. data/spec/unit/provider/user/solaris_spec.rb +5 -5
  341. data/spec/unit/provider/user/windows_spec.rb +8 -8
  342. data/spec/unit/provider/user_spec.rb +34 -34
  343. data/spec/unit/provider_spec.rb +3 -3
  344. data/spec/unit/recipe_spec.rb +79 -4
  345. data/spec/unit/registry_helper_spec.rb +2 -2
  346. data/spec/unit/resource/cron_spec.rb +2 -2
  347. data/spec/unit/resource/directory_spec.rb +5 -5
  348. data/spec/unit/resource/env_spec.rb +2 -2
  349. data/spec/unit/resource/erl_call_spec.rb +1 -1
  350. data/spec/unit/resource/file_spec.rb +8 -8
  351. data/spec/unit/resource/group_spec.rb +3 -3
  352. data/spec/unit/resource/link_spec.rb +8 -8
  353. data/spec/unit/resource/mdadm_spec.rb +3 -3
  354. data/spec/unit/resource/mount_spec.rb +3 -3
  355. data/spec/unit/resource/route_spec.rb +2 -2
  356. data/spec/unit/resource/user_spec.rb +2 -2
  357. data/spec/unit/resource/yum_package_spec.rb +2 -2
  358. data/spec/unit/resource_collection_spec.rb +1 -1
  359. data/spec/unit/resource_definition_spec.rb +2 -2
  360. data/spec/unit/resource_reporter_spec.rb +71 -16
  361. data/spec/unit/resource_spec.rb +3 -3
  362. data/spec/unit/rest/auth_credentials_spec.rb +2 -2
  363. data/spec/unit/rest_spec.rb +3 -40
  364. data/spec/unit/run_list/run_list_expansion_spec.rb +3 -3
  365. data/spec/unit/run_list_spec.rb +9 -9
  366. data/spec/unit/run_status_spec.rb +1 -1
  367. data/spec/unit/runner_spec.rb +8 -8
  368. data/spec/unit/scan_access_control_spec.rb +3 -3
  369. data/spec/unit/search/query_spec.rb +7 -7
  370. data/spec/unit/shell/model_wrapper_spec.rb +2 -2
  371. data/spec/unit/shell/shell_ext_spec.rb +15 -15
  372. data/spec/unit/shell/shell_session_spec.rb +9 -9
  373. data/spec/unit/shell_spec.rb +1 -2
  374. data/spec/unit/user_spec.rb +4 -4
  375. data/spec/unit/util/backup_spec.rb +1 -1
  376. data/spec/unit/util/selinux_spec.rb +7 -7
  377. metadata +106 -51
  378. data/distro/common/html/chef-client.8.html +0 -145
  379. data/distro/common/html/chef-expander.8.html +0 -164
  380. data/distro/common/html/chef-expanderctl.8.html +0 -146
  381. data/distro/common/html/chef-server-webui.8.html +0 -185
  382. data/distro/common/html/chef-server.8.html +0 -182
  383. data/distro/common/html/chef-shell.1.html +0 -286
  384. data/distro/common/html/chef-solo.8.html +0 -185
  385. data/distro/common/html/chef-solr.8.html +0 -165
  386. data/distro/common/html/knife-bootstrap.1.html +0 -241
  387. data/distro/common/html/knife-client.1.html +0 -219
  388. data/distro/common/html/knife-configure.1.html +0 -170
  389. data/distro/common/html/knife-cookbook-site.1.html +0 -241
  390. data/distro/common/html/knife-cookbook.1.html +0 -381
  391. data/distro/common/html/knife-data-bag.1.html +0 -235
  392. data/distro/common/html/knife-environment.1.html +0 -265
  393. data/distro/common/html/knife-exec.1.html +0 -134
  394. data/distro/common/html/knife-index.1.html +0 -125
  395. data/distro/common/html/knife-node.1.html +0 -250
  396. data/distro/common/html/knife-role.1.html +0 -200
  397. data/distro/common/html/knife-search.1.html +0 -288
  398. data/distro/common/html/knife-ssh.1.html +0 -156
  399. data/distro/common/html/knife-status.1.html +0 -128
  400. data/distro/common/html/knife-tag.1.html +0 -137
  401. data/distro/common/html/knife.1.html +0 -315
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-EXEC" "1" "Chef 11.8.0" "" "knife exec"
1
+ .TH "KNIFE-EXEC" "1" "Chef 11.10.0" "" "knife exec"
2
2
  .SH NAME
3
3
  knife-exec \- The man page for the knife exec subcommand.
4
4
  .
@@ -33,20 +33,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
33
33
  .sp
34
34
  The \fBknife exec\fP subcommand uses the Knife configuration file to execute Ruby scripts in the context of a fully configured chef\-client. This subcommand is most often used to run scripts that will only access server one time (or otherwise very infrequently). Use this subcommand any time that an operation does not warrant full usage of the Knife subcommand library.
35
35
  .sp
36
- For Ruby scripts that will be run using the \fBexec\fP subcommand, note the following:
37
- .INDENT 0.0
38
- .INDENT 3.5
39
- .INDENT 0.0
40
- .IP \(bu 2
41
- The Ruby script must be located on the system from which Knife is run (and not be located on any of the systems that Knife will be managing).
42
- .IP \(bu 2
43
- Shell commands will be run from a management workstation. For example, something like \fB%x[ls \-lash /opt/only\-on\-a\-node]\fP would give you the directory listing for the "opt/only\-on\-a\-node" directory or a "No such file or directory" error if the file does not already exist locally.
44
- .IP \(bu 2
45
- When the chef\-shell DSL is available, the chef\-client DSL will not be (unless the management workstation is also a chef\-client). Without the chef\-client DSL, a bash block cannot be used to run bash commands.
46
- .UNINDENT
47
- .UNINDENT
48
- .UNINDENT
49
- .sp
50
36
  \fBAuthenticated API Requests\fP
51
37
  .sp
52
38
  The \fBknife exec\fP subcommand can be used to make authenticated API requests to the server using the following methods:
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-INDEX-REBUILD" "1" "Chef 11.8.0" "" "knife index rebuild"
1
+ .TH "KNIFE-INDEX-REBUILD" "1" "Chef 11.10.0" "" "knife index rebuild"
2
2
  .SH NAME
3
3
  knife-index-rebuild \- The man page for the knife index rebuild subcommand.
4
4
  .
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-LIST" "1" "Chef 11.8.0" "" "knife list"
1
+ .TH "KNIFE-LIST" "1" "Chef 11.10.0" "" "knife list"
2
2
  .SH NAME
3
3
  knife-list \- The man page for the knife list subcommand.
4
4
  .
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-NODE" "1" "Chef 11.8.0" "" "knife node"
1
+ .TH "KNIFE-NODE" "1" "Chef 11.10.0" "" "knife node"
2
2
  .SH NAME
3
3
  knife-node \- The man page for the knife node subcommand.
4
4
  .
@@ -34,14 +34,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
34
34
  A node is any physical, virtual, or cloud machine that is configured to be maintained by a chef\-client.
35
35
  .sp
36
36
  The \fBknife node\fP subcommand is used to manage the nodes that exist on a server.
37
- .sp
38
- This subcommand has the following syntax:
39
- .sp
40
- .nf
41
- .ft C
42
- $ knife node [ARGUMENT] (options)
43
- .ft P
44
- .fi
45
37
  .SH COMMON OPTIONS
46
38
  .sp
47
39
  The following options may be used with any of the arguments available to the \fBknife node\fP subcommand:
@@ -118,7 +110,7 @@ This command does not have any specific options.
118
110
  .sp
119
111
  \fBExamples\fP
120
112
  .sp
121
- To bulk delete many nodes, use a regular expression to define the pattern:
113
+ Use a regular expression to define the pattern used to bulk delete nodes:
122
114
  .sp
123
115
  .nf
124
116
  .ft C
@@ -204,11 +196,9 @@ This command does not have any specific options.
204
196
  .sp
205
197
  \fBExamples\fP
206
198
  .sp
207
- To delete a node called "dev", enter:
208
- .sp
209
199
  .nf
210
200
  .ft C
211
- $ knife node delete dev
201
+ $ knife node delete node_name
212
202
  .ft P
213
203
  .fi
214
204
  .SH EDIT
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-RAW" "1" "Chef 11.8.0" "" "knife raw"
1
+ .TH "KNIFE-RAW" "1" "Chef 11.10.0" "" "knife raw"
2
2
  .SH NAME
3
3
  knife-raw \- The man page for the knife raw subcommand.
4
4
  .
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-RECIPE-LIST" "1" "Chef 11.8.0" "" "knife recipe list"
1
+ .TH "KNIFE-RECIPE-LIST" "1" "Chef 11.10.0" "" "knife recipe list"
2
2
  .SH NAME
3
3
  knife-recipe-list \- The man page for the knife recipe list subcommand.
4
4
  .
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-ROLE" "1" "Chef 11.8.0" "" "knife role"
1
+ .TH "KNIFE-ROLE" "1" "Chef 11.10.0" "" "knife role"
2
2
  .SH NAME
3
3
  knife-role \- The man page for the knife role subcommand.
4
4
  .
@@ -34,14 +34,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
34
34
  A role is a way to define certain patterns and processes that exist across nodes in an organization as belonging to a single job function. Each role consists of zero (or more) attributes and a run list. Each node can have zero (or more) roles assigned to it. When a role is run against a node, the configuration details of that node are compared against the attributes of the role, and then the contents of that role\(aqs run list are applied to the node\(aqs configuration details. When a chef\-client runs, it merges its own attributes and run lists with those contained within each assigned role.
35
35
  .sp
36
36
  The \fBknife role\fP subcommand is used to manage the roles that are associated with one or more nodes on a server.
37
- .sp
38
- This subcommand has the following syntax:
39
- .sp
40
- .nf
41
- .ft C
42
- $ knife role [ARGUMENT] (options)
43
- .ft P
44
- .fi
45
37
  .SH COMMON OPTIONS
46
38
  .sp
47
39
  The following options may be used with any of the arguments available to the \fBknife role\fP subcommand:
@@ -118,7 +110,7 @@ This command does not have any specific options.
118
110
  .sp
119
111
  \fBExamples\fP
120
112
  .sp
121
- To bulk delete roles using a regular expression:
113
+ Use a regular expression to define the pattern used to bulk delete roles:
122
114
  .sp
123
115
  .nf
124
116
  .ft C
@@ -200,8 +192,6 @@ This command does not have any specific options.
200
192
  .sp
201
193
  \fBExamples\fP
202
194
  .sp
203
- To delete a role:
204
- .sp
205
195
  .nf
206
196
  .ft C
207
197
  $ knife role delete devops
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-SEARCH" "1" "Chef 11.8.0" "" "knife search"
1
+ .TH "KNIFE-SEARCH" "1" "Chef 11.10.0" "" "knife search"
2
2
  .SH NAME
3
3
  knife-search \- The man page for the knife search subcommand.
4
4
  .
@@ -31,7 +31,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
31
31
  .\" Man page generated from reStructuredText.
32
32
  .
33
33
  .sp
34
- Search indexes allow queries to be made for any type of data that is indexed by the server, including data bags (and data bag items), environments, nodes, and roles. A defined query syntax is used to support search patterns like exact, wildcard, range, and fuzzy. A search is a full\-text query that can be done from several locations, including from within a recipe, by using the \fBsearch\fP subcommand in Knife, by using the search functionality in the Chef Manager, or by using the \fB/search\fP or \fB/search/INDEX\fP endpoints in the Chef Server API. The search engine is based on Apache Solr and is run from the server.
34
+ Search indexes allow queries to be made for any type of data that is indexed by the server, including data bags (and data bag items), environments, nodes, and roles. A defined query syntax is used to support search patterns like exact, wildcard, range, and fuzzy. A search is a full\-text query that can be done from several locations, including from within a recipe, by using the \fBsearch\fP subcommand in Knife, by using the search functionality in the Chef Manage, or by using the \fB/search\fP or \fB/search/INDEX\fP endpoints in the Chef Server API. The search engine is based on Apache Solr and is run from the server.
35
35
  .sp
36
36
  The \fBknife search\fP subcommand is used run a search query for information that is indexed on a server.
37
37
  .sp
@@ -76,7 +76,7 @@ and is the same search as:
76
76
  .sp
77
77
  .nf
78
78
  .ft C
79
- $ knife node search \(aq*:*" \-i
79
+ $ knife search node \(aq*:*" \-i
80
80
  .ft P
81
81
  .fi
82
82
  .sp
@@ -264,7 +264,7 @@ $ knife search node <query_to_run> \-a <main_attribute>.<nested_attribute>
264
264
  .ft P
265
265
  .fi
266
266
  .sp
267
- To build a search query to use more than one attribute, use an underscore ( _ ) to separate each attribute. For example, the following query will search for all nodes running a specific version of Ruby:
267
+ To build a search query to use more than one attribute, use an underscore (\fB_\fP) to separate each attribute. For example, the following query will search for all nodes running a specific version of Ruby:
268
268
  .sp
269
269
  .nf
270
270
  .ft C
@@ -284,7 +284,7 @@ To test a search query that will be used in a \fBknife ssh\fP command:
284
284
  .sp
285
285
  .nf
286
286
  .ft C
287
- $ knife search node "role:web AND NOT name:web03"
287
+ $ knife search node "role:web NOT name:web03"
288
288
  .ft P
289
289
  .fi
290
290
  .sp
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-SHOW" "1" "Chef 11.8.0" "" "knife show"
1
+ .TH "KNIFE-SHOW" "1" "Chef 11.10.0" "" "knife show"
2
2
  .SH NAME
3
3
  knife-show \- The man page for the knife show subcommand.
4
4
  .
@@ -133,8 +133,6 @@ $ knife show
133
133
  .ft P
134
134
  .fi
135
135
  .sp
136
- To show roles and environments:
137
- .sp
138
136
  .nf
139
137
  .ft C
140
138
  $ knife show roles/ environments/
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-SSH" "1" "Chef 11.8.0" "" "knife ssh"
1
+ .TH "KNIFE-SSH" "1" "Chef 11.10.0" "" "knife ssh"
2
2
  .SH NAME
3
3
  knife-ssh \- The man page for the knife ssh subcommand.
4
4
  .
@@ -161,8 +161,6 @@ ec2\-184\-73\-60\-141.compute\-1.amazonaws.com 13:50:48 up 1 day, 23:30, 1 u
161
161
  .ft P
162
162
  .fi
163
163
  .sp
164
- To run the chef\-client on all nodes, enter:
165
- .sp
166
164
  .nf
167
165
  .ft C
168
166
  $ knife ssh \(aqname:*\(aq \(aqsudo chef\-client\(aq
@@ -217,8 +215,6 @@ $ knife ssh "role:webserver" "sudo chef\-client"
217
215
  .ft P
218
216
  .fi
219
217
  .sp
220
- To upgrade all nodes, enter:
221
- .sp
222
218
  .nf
223
219
  .ft C
224
220
  $ knife ssh name:* "sudo aptitude upgrade \-y"
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-STATUS" "1" "Chef 11.8.0" "" "knife status"
1
+ .TH "KNIFE-STATUS" "1" "Chef 11.10.0" "" "knife status"
2
2
  .SH NAME
3
3
  knife-status \- The man page for the knife status subcommand.
4
4
  .
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-TAG" "1" "Chef 11.8.0" "" "knife tag"
1
+ .TH "KNIFE-TAG" "1" "Chef 11.10.0" "" "knife tag"
2
2
  .SH NAME
3
3
  knife-tag \- The man page for the knife tag subcommand.
4
4
  .
@@ -34,14 +34,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
34
34
  A tag is a custom description that is applied to a node. A tag, once applied, can be helpful when managing nodes using Knife or when building recipes by providing alternate methods of grouping similar types of information.
35
35
  .sp
36
36
  The \fBknife tag\fP subcommand is used to apply tags to nodes on a server.
37
- .sp
38
- This subcommand has the following syntax:
39
- .sp
40
- .nf
41
- .ft C
42
- $ knife tag [ARGUMENT]
43
- .ft P
44
- .fi
45
37
  .SH COMMON OPTIONS
46
38
  .sp
47
39
  The following options may be used with any of the arguments available to the \fBknife tag\fP subcommand:
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-UPLOAD" "1" "Chef 11.8.0" "" "knife upload"
1
+ .TH "KNIFE-UPLOAD" "1" "Chef 11.10.0" "" "knife upload"
2
2
  .SH NAME
3
3
  knife-upload \- The man page for the knife upload subcommand.
4
4
  .
@@ -129,7 +129,7 @@ Indicates that the chef\-client will be run in local mode, which allows all comm
129
129
  .sp
130
130
  \fBExamples\fP
131
131
  .sp
132
- To upload the entire chef\-repo to the server, browse to the top level of the chef\-repo and enter:
132
+ Browse to the top level of the chef\-repo and enter:
133
133
  .sp
134
134
  .nf
135
135
  .ft C
@@ -145,7 +145,7 @@ $ knife upload /
145
145
  .ft P
146
146
  .fi
147
147
  .sp
148
- To upload the \fBcookbooks/\fP directory to the server, browse to the top level of the chef\-repo and enter:
148
+ Browse to the top level of the chef\-repo and enter:
149
149
  .sp
150
150
  .nf
151
151
  .ft C
@@ -161,7 +161,7 @@ $ knife upload /cookbooks
161
161
  .ft P
162
162
  .fi
163
163
  .sp
164
- To upload the \fBenvironments/\fP directory to the server, browse to the top level of the chef\-repo and enter:
164
+ Browse to the top level of the chef\-repo and enter:
165
165
  .sp
166
166
  .nf
167
167
  .ft C
@@ -177,7 +177,7 @@ $ knife upload /environments
177
177
  .ft P
178
178
  .fi
179
179
  .sp
180
- To upload an environment named "production" to the server, browse to the top level of the chef\-repo and enter:
180
+ Browse to the top level of the chef\-repo and enter:
181
181
  .sp
182
182
  .nf
183
183
  .ft C
@@ -193,7 +193,7 @@ $ knife upload production.json
193
193
  .ft P
194
194
  .fi
195
195
  .sp
196
- To upload the \fBroles/\fP directory to the server, browse to the top level of the chef\-repo and enter:
196
+ Browse to the top level of the chef\-repo and enter:
197
197
  .sp
198
198
  .nf
199
199
  .ft C
@@ -209,7 +209,7 @@ $ knife upload /roles
209
209
  .ft P
210
210
  .fi
211
211
  .sp
212
- To upload all cookbooks that start with "apache" and belong to the "webserver" role, browse to the top level of the chef\-repo and enter:
212
+ Browse to the top level of the chef\-repo and enter:
213
213
  .sp
214
214
  .nf
215
215
  .ft C
@@ -217,8 +217,6 @@ $ knife upload cookbooks/apache\e* roles/webserver.json
217
217
  .ft P
218
218
  .fi
219
219
  .sp
220
- Use the output of \fBknife deps\fP to pass a command to \fBknife upload\fP. For example:
221
- .sp
222
220
  .nf
223
221
  .ft C
224
222
  $ knife upload \(gaknife deps nodes/*.json\(ga
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-USER" "1" "Chef 11.8.0" "" "knife user"
1
+ .TH "KNIFE-USER" "1" "Chef 11.10.0" "" "knife user"
2
2
  .SH NAME
3
3
  knife-user \- The man page for the knife user subcommand.
4
4
  .
@@ -33,16 +33,8 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
33
33
  .sp
34
34
  The \fBknife user\fP subcommand is used to manage the list of users and their associated RSA public key\-pairs.
35
35
  .IP Note
36
- This subcommand ONLY works when run against the open source server and will not run against Enterprise Chef (including hosted Enterprise Chef), or Private Chef.
36
+ This subcommand ONLY works when run against the open source server version 10.x. This subcommand will NOT run against open source server 11, Enterprise Chef (including hosted Enterprise Chef), or Private Chef.
37
37
  .RE
38
- .sp
39
- This subcommand has the following syntax:
40
- .sp
41
- .nf
42
- .ft C
43
- $ knife user [ARGUMENT] (options)
44
- .ft P
45
- .fi
46
38
  .SH COMMON OPTIONS
47
39
  .sp
48
40
  The following options may be used with any of the arguments available to the \fBknife user\fP subcommand:
@@ -139,8 +131,6 @@ All users are assigned a public key. Use to write the public key to a file.
139
131
  .sp
140
132
  \fBExamples\fP
141
133
  .sp
142
- To create a new user named "Radio Birdman" with a private key saved to "/keys/user_name", enter:
143
- .sp
144
134
  .nf
145
135
  .ft C
146
136
  $ knife user create "Radio Birdman" \-f /keys/user_name
@@ -166,8 +156,6 @@ This command does not have any specific options.
166
156
  .sp
167
157
  \fBExamples\fP
168
158
  .sp
169
- To delete a user named "Steve Danno", enter:
170
- .sp
171
159
  .nf
172
160
  .ft C
173
161
  $ knife user delete "Steve Danno"
@@ -248,8 +236,6 @@ Indicates that the private key will be saved to a specified file name.
248
236
  .sp
249
237
  \fBExamples\fP
250
238
  .sp
251
- To regenerate the RSA key pair for a user named "Robert Younger", enter:
252
- .sp
253
239
  .nf
254
240
  .ft C
255
241
  $ knife user reregister "Robert Younger"
@@ -307,7 +293,7 @@ $ knife user show "Dennis Teck" \-F json
307
293
  .ft P
308
294
  .fi
309
295
  .sp
310
- Other formats available include \fBtext\fP, \fByaml\fP, and \fBpp\fP.
296
+ (Other formats available include \fBtext\fP, \fByaml\fP, and \fBpp\fP, e.g. \fB\-F yaml\fP for YAML.)
311
297
  .SH AUTHOR
312
298
  Chef
313
299
  .\" Generated by docutils manpage writer.
@@ -1,4 +1,4 @@
1
- .TH "KNIFE-XARGS" "1" "Chef 11.8.0" "" "knife xargs"
1
+ .TH "KNIFE-XARGS" "1" "Chef 11.10.0" "" "knife xargs"
2
2
  .SH NAME
3
3
  knife-xargs \- The man page for the knife xargs subcommand.
4
4
  .
@@ -144,8 +144,6 @@ Indicates that the chef\-client will be run in local mode, which allows all comm
144
144
  .sp
145
145
  \fBExamples\fP
146
146
  .sp
147
- To use the output of \fBknife deps\fP to pass a command to \fBknife xargs\fP. For example:
148
- .sp
149
147
  .nf
150
148
  .ft C
151
149
  $ knife deps nodes/*.json | xargs knife upload
@@ -1,4 +1,4 @@
1
- .TH "CHEF-CLIENT" "8" "Chef 11.8.0" "" "chef-client"
1
+ .TH "CHEF-CLIENT" "8" "Chef 11.10.0" "" "chef-client"
2
2
  .SH NAME
3
3
  chef-client \- The man page for the chef-client command line tool.
4
4
  .
@@ -67,20 +67,17 @@ This command has the following options:
67
67
  .B \fB\-A\fP, \fB\-\-fatal\-windows\-admin\-check\fP
68
68
  Indicates that a chef\-client run should fail if the chef\-client does not have administrator privileges in Microsoft Windows.
69
69
  .TP
70
- .B \fB\-c CONFIG\fP, \fB\-\-config CONFIG\fP
71
- The configuration file to use.
72
- .TP
73
- .B \fB\-d\fP, \fB\-\-daemonize\fP
74
- Indicates that the executable will be run as a daemon. This option is only available on machines that run in UNIX or Linux environments. For machines that are running Microsoft Windows that require similar functionality, use the \fBchef\-client::service\fP recipe in the \fBchef\-client\fP cookbook: \fI\%http://community.opscode.com/cookbooks/chef-client\fP. This will install a chef\-client service under Microsoft Windows using the Windows Service Wrapper.
75
- .TP
76
- .B \fB\-E ENVIRONMENT_NAME\fP, \fB\-\-environment ENVIRONMENT_NAME\fP
77
- The name of the environment.
78
- .TP
79
- .B \fB\-f\fP, \fB\-\-fork\fP
80
- Indicates that a chef\-client run will be contained in a secondary process with dedicated RAM. When the chef\-client run is complete the RAM will be returned to the master process. This option helps ensure that a chef\-client will use a steady amount of RAM over time because the master process will not run recipes. This option will also help prevent memory leaks (such as those that can be introduced by the code contained within a poorly designed cookbook). Use \fB\-\-no\-fork\fP to disable running the chef\-client in fork node. Default value: \fB\-\-fork\fP.
70
+ .B \fB\-\-chef\-zero\-port PORT\fP
71
+ The port on which chef\-zero will listen.
81
72
  .TP
82
73
  .B \fB\-F FORMAT\fP, \fB\-\-format FORMAT\fP
83
- The output format: \fBdoc\fP (default) or \fBmin\fP. Other formatting options are available by using 3rd party formatters.
74
+ The output format: \fBdoc\fP (default) or \fBmin\fP.
75
+ .sp
76
+ Use \fBdoc\fP to print the progress of the chef\-client run using full strings that display a summary of updates as they occur.
77
+ .sp
78
+ Use \fBmin\fP to print the progress of the chef\-client run using single characters. A summary of updates is printed at the end of the chef\-client run. A dot (\fB.\fP) is printed for events that do not have meaningful status information, such as loading a file or synchronizing a cookbook. For resources, a dot (\fB.\fP) is printed when the resource is up to date, an \fBS\fP is printed when the resource is skipped by \fBnot_if\fP or \fBonly_if\fP, and a \fBU\fP is printed when the resource is updated.
79
+ .sp
80
+ Other formatting options are available when those formatters are configured in the client.rb file using the \fBadd_formatter\fP option.
84
81
  .TP
85
82
  .B \fB\-\-force\-formatter\fP
86
83
  Indicates that formatter output will be used instead of logger output.
@@ -98,7 +95,7 @@ Shows help for the command.
98
95
  The frequency (in seconds) at which the chef\-client runs. Default value: \fB1800\fP.
99
96
  .TP
100
97
  .B \fB\-j PATH\fP, \fB\-\-json\-attributes PATH\fP
101
- The path to a file that contains JSON data. Use this option to override attributes that are set from other locations, such as from within a cookbook or by a role.
98
+ The path to a file that contains JSON data.
102
99
  .TP
103
100
  .B \fB\-k KEY_FILE\fP, \fB\-\-client_key KEY_FILE\fP
104
101
  The location of the file which contains the client key. Default value: \fB/etc/chef/client.pem\fP.
@@ -107,13 +104,13 @@ The location of the file which contains the client key. Default value: \fB/etc/c
107
104
  The location of the file which contains the key used when a chef\-client is registered with a server. A validation key is signed using the \fBvalidation_client_name\fP for authentication. Default value: \fB/etc/chef/validation.pem\fP.
108
105
  .TP
109
106
  .B \fB\-l LEVEL\fP, \fB\-\-log_level LEVEL\fP
110
- The level of logging that will be stored in a log file: \fBdebug\fP, \fBinfo\fP, \fBwarn\fP, \fBerror\fP, or \fBfatal\fP.
107
+ The level of logging that will be stored in a log file.
111
108
  .TP
112
109
  .B \fB\-L LOGLOCATION\fP, \fB\-\-logfile c\fP
113
110
  The location in which log file output files will be saved. If this location is set to something other than \fBSTDOUT\fP, standard output logging will still be performed (otherwise there would be no output other than to a file). This is recommended when starting any executable as a daemon. Default value: \fBSTDOUT\fP.
114
111
  .TP
115
112
  .B \fB\-\-[no\-]color\fP
116
- Indicates that color will not be used in the output. Default setting: \fB\-\-color\fP.
113
+ Indicates whether colored output will be used. Default setting: \fB\-\-color\fP.
117
114
  .TP
118
115
  .B \fB\-N NODE_NAME\fP, \fB\-\-node\-name NODE_NAME\fP
119
116
  The name of the node.
@@ -130,6 +127,9 @@ The location in which a process identification number (pid) is saved. An executa
130
127
  .B \fB\-R\fP, \fB\-\-enable\-reporting\fP
131
128
  Indicates that data collection reporting is enabled during a chef\-client run.
132
129
  .TP
130
+ .B \fBRECIPE_FILE\fP
131
+ The path to a recipe. For example, if a recipe file is in the current directory, use \fBrecipe_file.rb\fP. This is typically used with the \fB\-\-local\-mode\fP option.
132
+ .TP
133
133
  .B \fB\-s SECONDS\fP, \fB\-\-splay SECONDS\fP
134
134
  A number (in seconds) to add to the \fBinterval\fP that is used to determine the frequency of chef\-client runs. This number can help prevent server load when there are many clients running at the same time.
135
135
  .TP
@@ -146,7 +146,7 @@ The version of the chef\-client.
146
146
  Indicates that the executable will be run in why\-run mode, which is a type of chef\-client run that does everything except modify the system. Use why\-run mode to understand why the chef\-client makes the decisions that it makes and to learn more about the current and proposed state of the system.
147
147
  .TP
148
148
  .B \fB\-z\fP, \fB\-\-local\-mode\fP
149
- Indicates that the chef\-client will be run in local mode, which allows all commands that work against the server to also work against the local chef\-repo.
149
+ Indicates that the chef\-client will be run in local mode, which allows all commands that work against the server to also work against the local chef\-repo..
150
150
  .UNINDENT
151
151
  .SH RUN WITH ELEVATED PRIVILEGES
152
152
  .sp
@@ -268,6 +268,6 @@ $ sudo kill \-USR1 66066
268
268
  .ft P
269
269
  .fi
270
270
  .SH AUTHOR
271
- Opscode
271
+ Chef
272
272
  .\" Generated by docutils manpage writer.
273
273
  .