chef 13.11.3 → 13.12.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) 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 -248
  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/distro/powershell/chef/chef.psm1 +0 -459
  261. data/tasks/cbgb.rb +0 -84
@@ -1,75 +0,0 @@
1
- chef-client(8) -- Runs a client node connecting to a chef-server.
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-client__ _(options)_
7
-
8
- * `-S`, `--server CHEFSERVERURL`:
9
- The chef server URL
10
- * `-c`, `--config CONFIG`:
11
- The configuration file to use
12
- * `-d`, `--daemonize`:
13
- Daemonize the process
14
- * `-g`, `--group GROUP`:
15
- Group to set privilege to
16
- * `-i`, `--interval SECONDS`:
17
- Run chef-client periodically, in seconds
18
- * `-j`, `--json-attributes JSON_ATTRIBS`:
19
- Load attributes from a JSON file or URL
20
- * `-E`, `--environment ENVIRONMENT`:
21
- Set the Chef Environment on the node
22
- * `-l`, `--log_level LEVEL`:
23
- Set the log level (debug, info, warn, error, fatal)
24
- * `-L`, `--logfile LOGLOCATION`:
25
- Set the log file location, defaults to STDOUT - recommended for
26
- daemonizing
27
- * `-N`, `--node-name NODE_NAME`:
28
- The node name for this client
29
- * `-o`, `--override-runlist`:
30
- Replace current run list with specified items
31
- * `-K`, `--validation_key KEY_FILE`:
32
- Set the validation key file location, used for registering new clients
33
- * `-k`, `--client_key KEY_FILE`:
34
- Set the client key file location
35
- * `-s`, `--splay SECONDS`:
36
- The splay time for running at intervals, in seconds
37
- * `-u`, `--user USER`:
38
- User to set privilege to
39
- * `-P`, `--pid PIDFILE`:
40
- Set the PID file location, defaults to /tmp/chef-client.pid
41
- * `--once`:
42
- Cancel any interval or splay options, run chef once and exit
43
- * `--skip-cookbook-sync`:
44
- Skip cookbook synchronization
45
- * `-v`, `--version`:
46
- Show chef version
47
- * `-h`, `--help`:
48
- Show this message
49
-
50
- ## DESCRIPTION
51
-
52
- The Chef Client is where almost all of the work in Chef is done. It
53
- communicates with the Chef Server via REST, authenticates via Signed
54
- Header Authentication, and compiles and executes Cookbooks.
55
-
56
- A Chef Client does work on behalf of a Node. A single Chef Client can
57
- run recipes for multiple Nodes.
58
-
59
- Clients are where all the action happens - the Chef Server and Chef Expander
60
- are largely services that exist only to provide the Client with information.
61
-
62
- ## SEE ALSO
63
-
64
- Full documentation for Chef and chef-client is located on docs site, http://docs.chef.io/.
65
-
66
- ## AUTHOR
67
-
68
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
69
- (http://www.opscode.com), with contributions from the community. This
70
- manual page was written by Joshua Timberman <joshua@opscode.com> with
71
- help2man. Permission is granted to copy, distribute and / or modify
72
- this document under the terms of the Apache 2.0 License.
73
-
74
- On Debian systems, the complete text of the Apache 2.0 License can be
75
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,81 +0,0 @@
1
- chef-expander(8) -- fetches messages from RabbitMQ, processes, and loads into chef-solr
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-expander__ _(options)_
7
-
8
- * `-c`, `--config CONFIG_FILE`:
9
- a configuration file to use
10
- * `-i`, `--index INDEX`:
11
- the slot this node will occupy in the ring
12
- * `-n`, `--node-count NUMBER`:
13
- the number of nodes in the ring
14
- * `-l`, `--log-level LOG_LEVEL`:
15
- set the log level
16
- * `-L`, `--logfile LOG_LOCATION`:
17
- Logfile to use
18
- * `-d`, `--daemonize`:
19
- fork into the background
20
- * `-P`, `--pid PIDFILE`:
21
- PID file
22
- * `-h`, `--help`:
23
- show help message
24
- * `-v`, `--version`:
25
- show the version and exit
26
-
27
- ## DESCRIPTION
28
-
29
- Chef Expander fetches messages from RabbitMQ, processes them into the
30
- correct format to be loaded into Solr and loads them into Solr.
31
-
32
- __Running Chef Expander__
33
-
34
- Chef Expander is designed for clustered operation, though small
35
- installations will only need one worker process. To run Chef
36
- Expander with one worker process, run chef-expander -n 1.
37
- You will then have a master and worker process, which looks like
38
- this in ps:
39
-
40
- your-shell> ps aux|grep expander
41
- you 52110 0.1 0.7 2515476 62748 s003 S+ 3:49PM 0:00.80 chef-expander worker #1 (vnodes 0-1023)
42
- you 52108 0.1 0.5 2492880 41696 s003 S+ 3:49PM 0:00.91 ruby bin/chef-expander -n 1
43
-
44
- Workers are single threaded and therefore cannot use more than 100%
45
- of a single CPU. If you find that your queues are getting backlogged,
46
- increase the number of workers
47
-
48
- __Design__
49
-
50
- Chef Expander uses 1024 queues (called vnodes in some places) to allow
51
- you to scale the number of Chef Expander workers to meet the needs of
52
- your infrastructure. When objects are saved in the API server, they are
53
- added to queues based on their database IDs. These queues can be assigned
54
- to different Chef Expander workers to distribute the load of processing
55
- the index updates.
56
-
57
- __Chef Expander Operation and Troubleshooting__
58
-
59
- Chef Expander includes chef-expanderctl, a management program that allows
60
- you to get status information or change the logging verbosity (without
61
- restarting).
62
-
63
- See __chef-expanderctl__(8) for details.
64
-
65
- ## SEE ALSO
66
-
67
- __chef-expanderctl__(8)
68
- __chef-solr__(8)
69
-
70
- Full documentation for Chef and chef-server is located on docs site, http://docs.chef.io/.
71
-
72
- ## AUTHOR
73
-
74
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
75
- (http://www.opscode.com), with contributions from the community. This
76
- manual page was created by Nuo Yan <nuo@opscode.com>. Permission is
77
- granted to copy, distribute and / or modify this document under the
78
- terms of the Apache 2.0 License.
79
-
80
- On Debian systems, the complete text of the Apache 2.0 License can be
81
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,57 +0,0 @@
1
- chef-expanderctl(8) -- management program for chef-expander
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-expanderctl__ _COMMAND_
7
-
8
- __Commands:__
9
-
10
- * `help`:
11
- Show help message
12
- * `queue-depth`:
13
- display the aggregate queue backlog
14
- * `queue-status`:
15
- show the backlog and consumer count for each vnode queue
16
- * `node-status`:
17
- show the status of the nodes in the cluster
18
- * `log-level`:
19
- sets the log level of all nodes in the cluster
20
-
21
- ## DESCRIPTION
22
-
23
- Chef-expanderctl is a management program that allows
24
- you to get status information or change the logging
25
- verbosity (without restarting). chef-expanderctl has
26
- the following commands:
27
-
28
- * __chef-expanderctl help__
29
- prints usage.
30
- * __chef-expanderctl queue-depth__
31
- Shows the total number of messages in the queues.
32
- * __chef-expanderctl queue-status__
33
- Show the number of messages in each queue. This is mainly of use when
34
- debugging a Chef Expander cluster.
35
- * __chef-expanderctl log-level LEVEL__
36
- Sets the log level on a running Chef Expander or cluster.
37
- If you suspect that a worker process is stuck, as long as you are using
38
- clustered operation, you can simply kill the worker process and it will
39
- be restarted by the master process.
40
-
41
- ## SEE ALSO
42
-
43
- __chef-expander-cluster__(8)
44
- __chef-solr__(8)
45
-
46
- Full documentation for Chef and chef-server is located on docs site, http://docs.chef.io/.
47
-
48
- ## AUTHOR
49
-
50
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
51
- (http://www.opscode.com), with contributions from the community. This
52
- manual page was created by Nuo Yan <nuo@opscode.com>. Permission is
53
- granted to copy, distribute and / or modify this document under the
54
- terms of the Apache 2.0 License.
55
-
56
- On Debian systems, the complete text of the Apache 2.0 License can be
57
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,121 +0,0 @@
1
- chef-server-webui(8) -- Start the Chef Server merb application slice providing Web User Interface (Management Console).
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-server-webui__ _(options)_
7
-
8
- * `-u`, `--user USER`:
9
- This flag is for having chef-server-webui run as a user other than the
10
- one currently logged in. Note: if you set this you must also provide a
11
- --group option for it to take effect.
12
- * `-G`, `--group GROUP`:
13
- This flag is for having chef-server-webui run as a group other than the
14
- one currently logged in. Note: if you set this you must also provide a
15
- --user option for it to take effect.
16
- * `-d`, `--daemonize`:
17
- This will run a single chef-server-webui in the background.
18
- * `-N`, `--no-daemonize`:
19
- This will allow you to run a cluster in console mode.
20
- * `-c`, `--cluster-nodes NUM_MERBS`:
21
- Number of merb daemons to run for chef-server-webui.
22
- * `-I`, `--init-file FILE`:
23
- File to use for initialization on load, defaults to config/init.rb.
24
- * `-p`, `--port PORTNUM`:
25
- Port to run chef-server-webui on, defaults to 4040. Additional nodes (-c)
26
- listen on incrementing port numbers.
27
- * `-o`, `--socket-file FILE`:
28
- Socket file to run chef-server-webui on, defaults to
29
- [Merb.root]/log/merb.sock. This is for web servers, like thin, that use
30
- sockets. Specify this *only* if you *must*.
31
- * `-s`, `--socket SOCKNUM`:
32
- Socket number to run chef-server-webui on, defaults to 0.
33
- * `-n`, `--name NAME`:
34
- Set the name of the application. This is used in the process title and
35
- log file names.
36
- * `-P`, `--pid PIDFILE`:
37
- PID file, defaults to [Merb.root]/log/merb.main.pid for the master
38
- process and[Merb.root]/log/merb.[port number].pid for worker processes.
39
- For clusters, use %s to specify where in the file chef-server-webui
40
- should place the port number. For instance: -P myapp.%s.pid.
41
- * `-h`, `--host HOSTNAME`:
42
- Host to bind to (default is 0.0.0.0).
43
- * `-m`, `--merb-root PATH_TO_APP_ROOT`:
44
- The path to the Merb.root for the app you want to run
45
- (default is current working directory).
46
- * `-a`, `--adapter ADAPTER`:
47
- The rack adapter to use to run chef-server-webui (default is mongrel)
48
- [mongrel, emongrel, thin, ebb, fastcgi, webrick].
49
- * `-R`, `--rackup FILE`:
50
- Load an alternate Rack config file (default is config/rack.rb).
51
- * `-i`, `--irb-console`:
52
- This flag will start chef-server-webui in irb console mode. All your models
53
- and other classes will be available for you in an irb session.
54
- * `-S`, `--sandbox`:
55
- This flag will enable a sandboxed irb console. If your ORM supports
56
- transactions, all edits will be rolled back on exit.
57
- * `-l`, `--log-level LEVEL`:
58
- Log levels can be set to any of these options:
59
- debug < info < warn < error < fatal (default is info).
60
- * `-L`, `--log LOGFILE`:
61
- A string representing the logfile to use. Defaults to
62
- [Merb.root]/log/merb.[main].log for the master process and
63
- [Merb.root]/log/merb[port number].logfor worker processes.
64
- * `-e`, `--environment STRING`:
65
- Environment to run Merb under [development, production, testing]
66
- (default is development).
67
- * `-r`, `--script-runner ['RUBY CODE'| FULL_SCRIPT_PATH]`:
68
- Command-line option to run scripts and/or code in the chef-server-webui
69
- app.
70
- * `-K`, `-graceful PORT or all`:
71
- Gracefully kill chef-server-webui proceses by port number.
72
- Use chef-server -K all to gracefully kill all merbs.
73
- * `-k`, `--kill PORT`:
74
- Force kill one merb worker by port number. This will cause the worker
75
- to be respawned.
76
- * `--fast-deploy`:
77
- Reload the code, but not yourinit.rb or gems.
78
- * `-X`, `--mutex on/off`:
79
- This flag is for turning the mutex lock on and off.
80
- * `-D`, `--debugger`:
81
- Run chef-server-webui using rDebug.
82
- * `-V`, `--verbose`:
83
- Print extra information.
84
- * `-C`, `--console-trap`:
85
- Enter an irb console on ^C.
86
- * `-?`, `-H`, `--help`:
87
- Show this help message.
88
-
89
- ## DESCRIPTION
90
-
91
- The Chef Server WebUI (Management Console) is a Merb application slice.
92
- The default listen port is 4040.
93
-
94
- The Management Console is Chef Server's web interface. Nodes, roles,
95
- cookbooks, data bags, and API clients can be managed through the Management
96
- Console. Search can also be done on the console.
97
-
98
- In order to start using the Management Console, you need to first create
99
- a user or change the default password on the "admin" user.
100
-
101
- The default credentials are:
102
-
103
- - `Username`: admin
104
- - `Password`: p@ssw0rd1
105
-
106
- ## SEE ALSO
107
-
108
- Full documentation for Chef and chef-server-webui (Management Console)
109
- is located on the Chef docs site, http://docs.chef.io/.
110
-
111
- ## AUTHOR
112
-
113
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
114
- (http://www.opscode.com), with contributions from the community. This
115
- manual page was written by Joshua Timberman <joshua@opscode.com> with
116
- help2man for the Debian project (but may be used by others). Permission
117
- is granted to copy, distribute and / or modify this document under the
118
- terms of the Apache 2.0 License.
119
-
120
- On Debian systems, the complete text of the Apache 2.0 License can be
121
- found in /usr/share/common-licenses/Apache-2.0.
@@ -1,120 +0,0 @@
1
- chef-server(8) - Start the Chef Server merb application slice.
2
- ========================================
3
-
4
- ## SYNOPSIS
5
-
6
- __chef-server__ _(options)_
7
-
8
- * `-u`, `--user USER`:
9
- This flag is for having chef-server-webui run as a user other than the
10
- one currently logged in. Note: if you set this you must also provide a
11
- --group option for it to take effect.
12
- * `-G`, `--group GROUP`:
13
- This flag is for having chef-server-webui run as a group other than the
14
- one currently logged in. Note: if you set this you must also provide a
15
- --user option for it to take effect.
16
- * `-d`, `--daemonize`:
17
- This will run a single chef-server-webui in the background.
18
- * `-N`, `--no-daemonize`:
19
- This will allow you to run a cluster in console mode.
20
- * `-c`, `--cluster-nodes NUM_MERBS`:
21
- Number of merb daemons to run for chef-server-webui.
22
- * `-I`, `--init-file FILE`:
23
- File to use for initialization on load, defaults to config/init.rb.
24
- * `-p`, `--port PORTNUM`:
25
- Port to run chef-server-webui on, defaults to 4040. Additional nodes (-c)
26
- listen on incrementing port numbers.
27
- * `-o`, `--socket-file FILE`:
28
- Socket file to run chef-server-webui on, defaults to
29
- [Merb.root]/log/merb.sock. This is for web servers, like thin, that use
30
- sockets. Specify this *only* if you *must*.
31
- * `-s`, `--socket SOCKNUM`:
32
- Socket number to run chef-server-webui on, defaults to 0.
33
- * `-n`, `--name NAME`:
34
- Set the name of the application. This is used in the process title and
35
- log file names.
36
- * `-P`, `--pid PIDFILE`:
37
- PID file, defaults to [Merb.root]/log/merb.main.pid for the master
38
- process and[Merb.root]/log/merb.[port number].pid for worker processes.
39
- For clusters, use %s to specify where in the file chef-server-webui
40
- should place the port number. For instance: -P myapp.%s.pid.
41
- * `-h`, `--host HOSTNAME`:
42
- Host to bind to (default is 0.0.0.0).
43
- * `-m`, `--merb-root PATH_TO_APP_ROOT`:
44
- The path to the Merb.root for the app you want to run
45
- (default is current working directory).
46
- * `-a`, `--adapter ADAPTER`:
47
- The rack adapter to use to run chef-server-webui (default is mongrel)
48
- [mongrel, emongrel, thin, ebb, fastcgi, webrick].
49
- * `-R`, `--rackup FILE`:
50
- Load an alternate Rack config file (default is config/rack.rb).
51
- * `-i`, `--irb-console`:
52
- This flag will start chef-server-webui in irb console mode. All your models
53
- and other classes will be available for you in an irb session.
54
- * `-S`, `--sandbox`:
55
- This flag will enable a sandboxed irb console. If your ORM supports
56
- transactions, all edits will be rolled back on exit.
57
- * `-l`, `--log-level LEVEL`:
58
- Log levels can be set to any of these options:
59
- debug < info < warn < error < fatal (default is info).
60
- * `-L`, `--log LOGFILE`:
61
- A string representing the logfile to use. Defaults to
62
- [Merb.root]/log/merb.[main].log for the master process and
63
- [Merb.root]/log/merb[port number].logfor worker processes.
64
- * `-e`, `--environment STRING`:
65
- Environment to run Merb under [development, production, testing]
66
- (default is development).
67
- * `-r`, `--script-runner ['RUBY CODE'| FULL_SCRIPT_PATH]`:
68
- Command-line option to run scripts and/or code in the chef-server-webui
69
- app.
70
- * `-K`, `-graceful PORT or all`:
71
- Gracefully kill chef-server-webui proceses by port number.
72
- Use chef-server -K all to gracefully kill all merbs.
73
- * `-k`, `--kill PORT`:
74
- Force kill one merb worker by port number. This will cause the worker
75
- to be respawned.
76
- * `--fast-deploy`:
77
- Reload the code, but not yourinit.rb or gems.
78
- * `-X`, `--mutex on/off`:
79
- This flag is for turning the mutex lock on and off.
80
- * `-D`, `--debugger`:
81
- Run chef-server-webui using rDebug.
82
- * `-V`, `--verbose`:
83
- Print extra information.
84
- * `-C`, `--console-trap`:
85
- Enter an irb console on ^C.
86
- * `-?`, `-H`, `--help`:
87
- Show this help message.
88
-
89
- ## DESCRIPTION
90
-
91
- The Chef Server provides a central point for the distribution of Cookbooks,
92
- management and authentication of Nodes, and the use of Search. It provides
93
- a REST API.
94
-
95
- The API service is what clients use to interact with the server to manage
96
- node configuration in Chef. By default, the service is started on port 4000
97
- as a Merb application slice running with the thin server adapter.
98
-
99
- The two methods of interaction with the API for humans are the command-line
100
- tool Knife and the Management Console. The Chef Client library is used for
101
- interacting with the API for client nodes.
102
-
103
- ## SEE ALSO
104
-
105
- __chef-client__(8)
106
- __chef-server-webui__(8)
107
- __knife__(1)
108
-
109
- Full documentation for Chef and chef-server is located on docs site, http://docs.chef.io/.
110
-
111
- ## AUTHOR
112
-
113
- Chef was written by Adam Jacob <adam@ospcode.com> of Opscode
114
- (http://www.opscode.com), with contributions from the community. This
115
- manual page was written by Joshua Timberman <joshua@opscode.com> with
116
- help2man. Permission is granted to copy, distribute and / or modify
117
- this document under the terms of the Apache 2.0 License.
118
-
119
- On Debian systems, the complete text of the Apache 2.0 License can be
120
- found in /usr/share/common-licenses/Apache-2.0.