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.
- checksums.yaml +4 -4
- data/Gemfile +4 -3
- data/README.md +35 -40
- data/Rakefile +18 -22
- data/chef-universal-mingw32.gemspec +1 -1
- data/chef.gemspec +3 -3
- data/lib/chef/client.rb +1 -1
- data/lib/chef/mixin/params_validate.rb +3 -1
- data/lib/chef/provider/script.rb +2 -2
- data/lib/chef/version.rb +1 -1
- data/spec/functional/http/simple_spec.rb +12 -6
- data/spec/functional/resource/remote_file_spec.rb +19 -15
- data/spec/support/platform_helpers.rb +2 -1
- data/tasks/announce.rb +1 -1
- data/tasks/dependencies.rb +5 -39
- data/tasks/maintainers.rb +10 -10
- data/tasks/rspec.rb +2 -2
- data/tasks/templates/prerelease.md.erb +11 -2
- data/tasks/templates/release.md.erb +9 -1
- metadata +6 -247
- data/CONTRIBUTING.md +0 -151
- data/VERSION +0 -1
- data/acceptance/.gitignore +0 -3
- data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
- data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
- data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
- data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
- data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
- data/acceptance/Gemfile +0 -19
- data/acceptance/Gemfile.lock +0 -266
- data/acceptance/README.md +0 -137
- data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/basics/.kitchen.yml +0 -4
- data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
- data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
- data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
- data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
- data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
- data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
- data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
- data/acceptance/data-collector/.kitchen.yml +0 -9
- data/acceptance/data-collector/Berksfile +0 -3
- data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
- data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/top-cookbooks/.gitignore +0 -1
- data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
- data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
- data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
- data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
- data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
- data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
- data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/trivial/.kitchen.yml +0 -7
- data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
- data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
- data/acceptance/windows-service/.kitchen.yml +0 -7
- data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
- data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
- data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
- data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
- data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
- data/distro/common/html/_sources/index.txt +0 -135
- data/distro/common/html/_sources/knife.txt +0 -74
- data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
- data/distro/common/html/_sources/knife_client.txt +0 -151
- data/distro/common/html/_sources/knife_common_options.txt +0 -6
- data/distro/common/html/_sources/knife_configure.txt +0 -29
- data/distro/common/html/_sources/knife_cookbook.txt +0 -236
- data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
- data/distro/common/html/_sources/knife_data_bag.txt +0 -160
- data/distro/common/html/_sources/knife_delete.txt +0 -26
- data/distro/common/html/_sources/knife_deps.txt +0 -61
- data/distro/common/html/_sources/knife_diff.txt +0 -34
- data/distro/common/html/_sources/knife_download.txt +0 -44
- data/distro/common/html/_sources/knife_edit.txt +0 -26
- data/distro/common/html/_sources/knife_environment.txt +0 -158
- data/distro/common/html/_sources/knife_exec.txt +0 -47
- data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
- data/distro/common/html/_sources/knife_list.txt +0 -33
- data/distro/common/html/_sources/knife_node.txt +0 -250
- data/distro/common/html/_sources/knife_raw.txt +0 -35
- data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
- data/distro/common/html/_sources/knife_role.txt +0 -157
- data/distro/common/html/_sources/knife_search.txt +0 -53
- data/distro/common/html/_sources/knife_serve.txt +0 -19
- data/distro/common/html/_sources/knife_show.txt +0 -27
- data/distro/common/html/_sources/knife_ssh.txt +0 -43
- data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
- data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
- data/distro/common/html/_sources/knife_status.txt +0 -37
- data/distro/common/html/_sources/knife_tag.txt +0 -69
- data/distro/common/html/_sources/knife_upload.txt +0 -49
- data/distro/common/html/_sources/knife_user.txt +0 -127
- data/distro/common/html/_sources/knife_using.txt +0 -43
- data/distro/common/html/_sources/knife_xargs.txt +0 -30
- data/distro/common/html/_static/ajax-loader.gif +0 -0
- data/distro/common/html/_static/basic.css +0 -537
- data/distro/common/html/_static/chef.ico +0 -0
- data/distro/common/html/_static/chef_html_logo.png +0 -0
- data/distro/common/html/_static/comment-bright.png +0 -0
- data/distro/common/html/_static/comment-close.png +0 -0
- data/distro/common/html/_static/comment.png +0 -0
- data/distro/common/html/_static/contents.png +0 -0
- data/distro/common/html/_static/doctools.js +0 -238
- data/distro/common/html/_static/down-pressed.png +0 -0
- data/distro/common/html/_static/down.png +0 -0
- data/distro/common/html/_static/file.png +0 -0
- data/distro/common/html/_static/guide.css +0 -505
- data/distro/common/html/_static/jquery.js +0 -2
- data/distro/common/html/_static/minus.png +0 -0
- data/distro/common/html/_static/navigation.png +0 -0
- data/distro/common/html/_static/plus.png +0 -0
- data/distro/common/html/_static/pygments.css +0 -62
- data/distro/common/html/_static/searchtools.js +0 -622
- data/distro/common/html/_static/underscore.js +0 -31
- data/distro/common/html/_static/up-pressed.png +0 -0
- data/distro/common/html/_static/up.png +0 -0
- data/distro/common/html/_static/websupport.js +0 -808
- data/distro/common/html/ctl_chef_client.html +0 -270
- data/distro/common/html/ctl_chef_server.html +0 -728
- data/distro/common/html/ctl_chef_shell.html +0 -163
- data/distro/common/html/ctl_chef_solo.html +0 -194
- data/distro/common/html/index.html +0 -202
- data/distro/common/html/knife.html +0 -170
- data/distro/common/html/knife_bootstrap.html +0 -285
- data/distro/common/html/knife_client.html +0 -285
- data/distro/common/html/knife_common_options.html +0 -96
- data/distro/common/html/knife_configure.html +0 -105
- data/distro/common/html/knife_cookbook.html +0 -487
- data/distro/common/html/knife_cookbook_site.html +0 -375
- data/distro/common/html/knife_data_bag.html +0 -374
- data/distro/common/html/knife_delete.html +0 -93
- data/distro/common/html/knife_deps.html +0 -143
- data/distro/common/html/knife_diff.html +0 -123
- data/distro/common/html/knife_download.html +0 -145
- data/distro/common/html/knife_edit.html +0 -89
- data/distro/common/html/knife_environment.html +0 -322
- data/distro/common/html/knife_exec.html +0 -220
- data/distro/common/html/knife_index_rebuild.html +0 -83
- data/distro/common/html/knife_list.html +0 -114
- data/distro/common/html/knife_node.html +0 -458
- data/distro/common/html/knife_raw.html +0 -110
- data/distro/common/html/knife_recipe_list.html +0 -91
- data/distro/common/html/knife_role.html +0 -295
- data/distro/common/html/knife_search.html +0 -203
- data/distro/common/html/knife_serve.html +0 -79
- data/distro/common/html/knife_show.html +0 -104
- data/distro/common/html/knife_ssh.html +0 -177
- data/distro/common/html/knife_ssl_check.html +0 -151
- data/distro/common/html/knife_ssl_fetch.html +0 -151
- data/distro/common/html/knife_status.html +0 -144
- data/distro/common/html/knife_tag.html +0 -138
- data/distro/common/html/knife_upload.html +0 -153
- data/distro/common/html/knife_user.html +0 -242
- data/distro/common/html/knife_using.html +0 -210
- data/distro/common/html/knife_xargs.html +0 -122
- data/distro/common/html/objects.inv +0 -0
- data/distro/common/html/search.html +0 -82
- data/distro/common/html/searchindex.js +0 -1
- data/distro/common/man/man1/README.md +0 -58
- data/distro/common/man/man1/chef-shell.1 +0 -194
- data/distro/common/man/man1/knife-bootstrap.1 +0 -215
- data/distro/common/man/man1/knife-client.1 +0 -443
- data/distro/common/man/man1/knife-configure.1 +0 -161
- data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
- data/distro/common/man/man1/knife-cookbook.1 +0 -770
- data/distro/common/man/man1/knife-data-bag.1 +0 -617
- data/distro/common/man/man1/knife-delete.1 +0 -127
- data/distro/common/man/man1/knife-deps.1 +0 -246
- data/distro/common/man/man1/knife-diff.1 +0 -226
- data/distro/common/man/man1/knife-download.1 +0 -258
- data/distro/common/man/man1/knife-edit.1 +0 -121
- data/distro/common/man/man1/knife-environment.1 +0 -496
- data/distro/common/man/man1/knife-exec.1 +0 -362
- data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
- data/distro/common/man/man1/knife-list.1 +0 -174
- data/distro/common/man/man1/knife-node.1 +0 -716
- data/distro/common/man/man1/knife-raw.1 +0 -172
- data/distro/common/man/man1/knife-recipe-list.1 +0 -85
- data/distro/common/man/man1/knife-role.1 +0 -426
- data/distro/common/man/man1/knife-search.1 +0 -359
- data/distro/common/man/man1/knife-serve.1 +0 -109
- data/distro/common/man/man1/knife-show.1 +0 -160
- data/distro/common/man/man1/knife-ssh.1 +0 -284
- data/distro/common/man/man1/knife-ssl-check.1 +0 -207
- data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
- data/distro/common/man/man1/knife-status.1 +0 -234
- data/distro/common/man/man1/knife-tag.1 +0 -189
- data/distro/common/man/man1/knife-upload.1 +0 -280
- data/distro/common/man/man1/knife-user.1 +0 -356
- data/distro/common/man/man1/knife-xargs.1 +0 -189
- data/distro/common/man/man1/knife.1 +0 -332
- data/distro/common/man/man8/chef-apply.8 +0 -86
- data/distro/common/man/man8/chef-client.8 +0 -398
- data/distro/common/man/man8/chef-solo.8 +0 -260
- data/distro/common/markdown/README +0 -3
- data/distro/common/markdown/man1/chef-shell.mkd +0 -195
- data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
- data/distro/common/markdown/man1/knife-client.mkd +0 -103
- data/distro/common/markdown/man1/knife-configure.mkd +0 -71
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
- data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
- data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
- data/distro/common/markdown/man1/knife-environment.mkd +0 -151
- data/distro/common/markdown/man1/knife-exec.mkd +0 -42
- data/distro/common/markdown/man1/knife-index.mkd +0 -30
- data/distro/common/markdown/man1/knife-node.mkd +0 -130
- data/distro/common/markdown/man1/knife-role.mkd +0 -85
- data/distro/common/markdown/man1/knife-search.mkd +0 -180
- data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
- data/distro/common/markdown/man1/knife-status.mkd +0 -36
- data/distro/common/markdown/man1/knife-tag.mkd +0 -39
- data/distro/common/markdown/man1/knife.mkd +0 -213
- data/distro/common/markdown/man8/chef-client.mkd +0 -75
- data/distro/common/markdown/man8/chef-expander.mkd +0 -81
- data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
- data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
- data/distro/common/markdown/man8/chef-server.mkd +0 -120
- data/distro/common/markdown/man8/chef-solo.mkd +0 -107
- data/distro/common/markdown/man8/chef-solr.mkd +0 -89
- 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.
|