chef 0.10.4.rc.4 → 0.10.4.rc.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/distro/common/html/chef-client.8.html +4 -4
  2. data/distro/common/html/chef-expander.8.html +4 -4
  3. data/distro/common/html/chef-expanderctl.8.html +4 -4
  4. data/distro/common/html/chef-server-webui.8.html +4 -4
  5. data/distro/common/html/chef-server.8.html +4 -4
  6. data/distro/common/html/chef-solo.8.html +4 -4
  7. data/distro/common/html/chef-solr.8.html +4 -4
  8. data/distro/common/html/knife-bootstrap.1.html +4 -4
  9. data/distro/common/html/knife-client.1.html +4 -4
  10. data/distro/common/html/knife-configure.1.html +4 -4
  11. data/distro/common/html/knife-cookbook-site.1.html +6 -6
  12. data/distro/common/html/knife-cookbook.1.html +11 -4
  13. data/distro/common/html/knife-data-bag.1.html +4 -4
  14. data/distro/common/html/knife-environment.1.html +4 -4
  15. data/distro/common/html/knife-exec.1.html +4 -4
  16. data/distro/common/html/knife-index.1.html +4 -4
  17. data/distro/common/html/knife-node.1.html +7 -6
  18. data/distro/common/html/knife-role.1.html +4 -4
  19. data/distro/common/html/knife-search.1.html +177 -24
  20. data/distro/common/html/knife-ssh.1.html +5 -4
  21. data/distro/common/html/knife-status.1.html +4 -4
  22. data/distro/common/html/knife-tag.1.html +4 -4
  23. data/distro/common/html/knife.1.html +4 -4
  24. data/distro/common/html/shef.1.html +4 -4
  25. data/distro/common/man/man1/knife-bootstrap.1 +189 -0
  26. data/distro/common/man/man1/knife-client.1 +99 -0
  27. data/distro/common/man/man1/knife-configure.1 +88 -0
  28. data/distro/common/man/man1/knife-cookbook-site.1 +137 -0
  29. data/distro/common/man/man1/knife-cookbook.1 +340 -0
  30. data/distro/common/man/man1/knife-data-bag.1 +130 -0
  31. data/distro/common/man/man1/knife-environment.1 +178 -0
  32. data/distro/common/man/man1/knife-exec.1 +46 -0
  33. data/distro/common/man/man1/knife-index.1 +29 -0
  34. data/distro/common/man/man1/knife-node.1 +154 -0
  35. data/distro/common/man/man1/knife-role.1 +88 -0
  36. data/distro/common/man/man1/knife-search.1 +270 -0
  37. data/distro/common/man/man1/knife-ssh.1 +78 -0
  38. data/distro/common/man/man1/knife-status.1 +29 -0
  39. data/distro/common/man/man1/knife-tag.1 +43 -0
  40. data/distro/common/man/man1/knife.1 +251 -0
  41. data/distro/common/man/man1/shef.1 +256 -0
  42. data/distro/common/man/man8/chef-client.8 +84 -0
  43. data/distro/common/man/man8/chef-expander.8 +97 -0
  44. data/distro/common/man/man8/chef-expanderctl.8 +62 -0
  45. data/distro/common/man/man8/chef-server-webui.8 +155 -0
  46. data/distro/common/man/man8/chef-server.8 +147 -0
  47. data/distro/common/man/man8/chef-solo.8 +158 -0
  48. data/distro/common/man/man8/chef-solr.8 +114 -0
  49. data/distro/common/markdown/man1/knife-search.mkd +130 -6
  50. data/lib/chef/provider/package/apt.rb +34 -24
  51. data/lib/chef/version.rb +1 -1
  52. metadata +28 -4
@@ -0,0 +1,84 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "CHEF\-CLIENT" "8" "August 2011" "Chef 0.10.4.rc.5" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBchef\-client\fR \- Runs a client node connecting to a chef\-server\.
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBchef\-client\fR \fI(options)\fR
11
+ .
12
+ .TP
13
+ \fB\-S\fR, \fB\-\-server CHEFSERVERURL\fR
14
+ The chef server URL
15
+ .
16
+ .TP
17
+ \fB\-c\fR, \fB\-\-config CONFIG\fR
18
+ The configuration file to use
19
+ .
20
+ .TP
21
+ \fB\-d\fR, \fB\-\-daemonize\fR
22
+ Daemonize the process
23
+ .
24
+ .TP
25
+ \fB\-g\fR, \fB\-\-group GROUP\fR
26
+ Group to set privilege to
27
+ .
28
+ .TP
29
+ \fB\-i\fR, \fB\-\-interval SECONDS\fR
30
+ Run chef\-client periodically, in seconds
31
+ .
32
+ .TP
33
+ \fB\-j\fR, \fB\-\-json\-attributes JSON_ATTRIBS\fR
34
+ Load attributes from a JSON file or URL
35
+ .
36
+ .TP
37
+ \fB\-l\fR, \fB\-\-log_level LEVEL\fR
38
+ Set the log level (debug, info, warn, error, fatal)
39
+ .
40
+ .TP
41
+ \fB\-L\fR, \fB\-\-logfile LOGLOCATION\fR
42
+ Set the log file location, defaults to STDOUT \- recommended for daemonizing
43
+ .
44
+ .TP
45
+ \fB\-V\fR, \fB\-\-verbose\fR
46
+ Ensures logging goes to STDOUT as well as to other configured log location(s)\.
47
+ .
48
+ .TP
49
+ \fB\-N\fR, \fB\-\-node\-name NODE_NAME\fR
50
+ The node name for this client
51
+ .
52
+ .TP
53
+ \fB\-s\fR, \fB\-\-splay SECONDS\fR
54
+ The splay time for running at intervals, in seconds
55
+ .
56
+ .TP
57
+ \fB\-u\fR, \fB\-\-user USER\fR
58
+ User to set privilege to
59
+ .
60
+ .TP
61
+ \fB\-v\fR, \fB\-\-version\fR
62
+ Show chef version
63
+ .
64
+ .TP
65
+ \fB\-h\fR, \fB\-\-help\fR
66
+ Show this message
67
+ .
68
+ .SH "DESCRIPTION"
69
+ The Chef Client is where almost all of the work in Chef is done\. It communicates with the Chef Server via REST, authenticates via Signed Header Authentication, and compiles and executes Cookbooks\.
70
+ .
71
+ .P
72
+ A Chef Client does work on behalf of a Node\. A single Chef Client can run recipes for multiple Nodes\.
73
+ .
74
+ .P
75
+ Clients are where all the action happens \- the Chef Server and Chef Expander are largely services that exist only to provide the Client with information\.
76
+ .
77
+ .SH "SEE ALSO"
78
+ Full documentation for Chef and chef\-client is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
79
+ .
80
+ .SH "AUTHOR"
81
+ Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
82
+ .
83
+ .P
84
+ On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -0,0 +1,97 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "CHEF\-EXPANDER" "8" "August 2011" "Chef 0.10.4.rc.5" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBchef\-expander\fR \fI(options)\fR
11
+ .
12
+ .TP
13
+ \fB\-c\fR, \fB\-\-config CONFIG_FILE\fR
14
+ a configuration file to use
15
+ .
16
+ .TP
17
+ \fB\-i\fR, \fB\-\-index INDEX\fR
18
+ the slot this node will occupy in the ring
19
+ .
20
+ .TP
21
+ \fB\-n\fR, \fB\-\-node\-count NUMBER\fR
22
+ the number of nodes in the ring
23
+ .
24
+ .TP
25
+ \fB\-l\fR, \fB\-\-log\-level LOG_LEVEL\fR
26
+ set the log level
27
+ .
28
+ .TP
29
+ \fB\-L\fR, \fB\-\-logfile LOG_LOCATION\fR
30
+ Logfile to use
31
+ .
32
+ .TP
33
+ \fB\-d\fR, \fB\-\-daemonize\fR
34
+ fork into the background
35
+ .
36
+ .TP
37
+ \fB\-P\fR, \fB\-\-pid PIDFILE\fR
38
+ PID file
39
+ .
40
+ .TP
41
+ \fB\-h\fR, \fB\-\-help\fR
42
+ show help message
43
+ .
44
+ .TP
45
+ \fB\-v\fR, \fB\-\-version\fR
46
+ show the version and exit
47
+ .
48
+ .SH "DESCRIPTION"
49
+ Chef Expander fetches messages from RabbitMQ, processes them into the correct format to be loaded into Solr and loads them into Solr\.
50
+ .
51
+ .P
52
+ \fBRunning Chef Expander\fR
53
+ .
54
+ .P
55
+ Chef Expander is designed for clustered operation, though small installations will only need one worker process\. To run Chef Expander with one worker process, run chef\-expander \-n 1\. You will then have a master and worker process, which looks like this in ps:
56
+ .
57
+ .IP "" 4
58
+ .
59
+ .nf
60
+
61
+ your\-shell> ps aux|grep expander
62
+ you 52110 0\.1 0\.7 2515476 62748 s003 S+ 3:49PM 0:00\.80 chef\-expander worker #1 (vnodes 0\-1023)
63
+ you 52108 0\.1 0\.5 2492880 41696 s003 S+ 3:49PM 0:00\.91 ruby bin/chef\-expander \-n 1
64
+ .
65
+ .fi
66
+ .
67
+ .IP "" 0
68
+ .
69
+ .P
70
+ Workers are single threaded and therefore cannot use more than 100% of a single CPU\. If you find that your queues are getting backlogged, increase the number of workers
71
+ .
72
+ .P
73
+ \fBDesign\fR
74
+ .
75
+ .P
76
+ Chef Expander uses 1024 queues (called vnodes in some places) to allow you to scale the number of Chef Expander workers to meet the needs of your infrastructure\. When objects are saved in the API server, they are added to queues based on their database IDs\. These queues can be assigned to different Chef Expander workers to distribute the load of processing the index updates\.
77
+ .
78
+ .P
79
+ \fBChef Expander Operation and Troubleshooting\fR
80
+ .
81
+ .P
82
+ Chef Expander includes chef\-expanderctl, a management program that allows you to get status information or change the logging verbosity (without restarting)\.
83
+ .
84
+ .P
85
+ See \fBchef\-expanderctl\fR(8) for details\.
86
+ .
87
+ .SH "SEE ALSO"
88
+ \fBchef\-expanderctl\fR(8) \fBchef\-solr\fR(8)
89
+ .
90
+ .P
91
+ Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
92
+ .
93
+ .SH "AUTHOR"
94
+ Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was created by Nuo Yan \fInuo@opscode\.com\fR\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
95
+ .
96
+ .P
97
+ On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -0,0 +1,62 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "CHEF\-EXPANDERCTL" "8" "August 2011" "Chef 0.10.4.rc.5" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBchef\-expanderctl\fR \- management program for chef\-expander
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBchef\-expanderctl\fR \fICOMMAND\fR
11
+ .
12
+ .P
13
+ \fBCommands:\fR
14
+ .
15
+ .TP
16
+ \fBhelp\fR
17
+ Show help message
18
+ .
19
+ .TP
20
+ \fBqueue\-depth\fR
21
+ display the aggregate queue backlog
22
+ .
23
+ .TP
24
+ \fBqueue\-status\fR
25
+ show the backlog and consumer count for each vnode queue
26
+ .
27
+ .TP
28
+ \fBnode\-status\fR
29
+ show the status of the nodes in the cluster
30
+ .
31
+ .TP
32
+ \fBlog\-level\fR
33
+ sets the log level of all nodes in the cluster
34
+ .
35
+ .SH "DESCRIPTION"
36
+ Chef\-expanderctl is a management program that allows you to get status information or change the logging verbosity (without restarting)\. chef\-expanderctl has the following commands:
37
+ .
38
+ .IP "\(bu" 4
39
+ \fBchef\-expanderctl help\fR prints usage\.
40
+ .
41
+ .IP "\(bu" 4
42
+ \fBchef\-expanderctl queue\-depth\fR Shows the total number of messages in the queues\.
43
+ .
44
+ .IP "\(bu" 4
45
+ \fBchef\-expanderctl queue\-status\fR Show the number of messages in each queue\. This is mainly of use when debugging a Chef Expander cluster\.
46
+ .
47
+ .IP "\(bu" 4
48
+ \fBchef\-expanderctl log\-level LEVEL\fR Sets the log level on a running Chef Expander or cluster\. If you suspect that a worker process is stuck, as long as you are using clustered operation, you can simply kill the worker process and it will be restarted by the master process\.
49
+ .
50
+ .IP "" 0
51
+ .
52
+ .SH "SEE ALSO"
53
+ \fBchef\-expander\-cluster\fR(8) \fBchef\-solr\fR(8)
54
+ .
55
+ .P
56
+ Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
57
+ .
58
+ .SH "AUTHOR"
59
+ Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was created by Nuo Yan \fInuo@opscode\.com\fR\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
60
+ .
61
+ .P
62
+ On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -0,0 +1,155 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "August 2011" "Chef 0.10.4.rc.5" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBchef\-server\-webui\fR \- Start the Chef Server merb application slice providing Web User Interface (Management Console)\.
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBchef\-server\-webui\fR \fI(options)\fR
11
+ .
12
+ .TP
13
+ \fB\-u\fR, \fB\-\-user USER\fR
14
+ This flag is for having chef\-server\-webui run as a user other than the one currently logged in\. Note: if you set this you must also provide a \-\-group option for it to take effect\.
15
+ .
16
+ .TP
17
+ \fB\-G\fR, \fB\-\-group GROUP\fR
18
+ This flag is for having chef\-server\-webui run as a group other than the one currently logged in\. Note: if you set this you must also provide a \-\-user option for it to take effect\.
19
+ .
20
+ .TP
21
+ \fB\-d\fR, \fB\-\-daemonize\fR
22
+ This will run a single chef\-server\-webui in the background\.
23
+ .
24
+ .TP
25
+ \fB\-N\fR, \fB\-\-no\-daemonize\fR
26
+ This will allow you to run a cluster in console mode\.
27
+ .
28
+ .TP
29
+ \fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
30
+ Number of merb daemons to run for chef\-server\-webui\.
31
+ .
32
+ .TP
33
+ \fB\-I\fR, \fB\-\-init\-file FILE\fR
34
+ File to use for initialization on load, defaults to config/init\.rb\.
35
+ .
36
+ .TP
37
+ \fB\-p\fR, \fB\-\-port PORTNUM\fR
38
+ Port to run chef\-server\-webui on, defaults to 4040\. Additional nodes (\-c) listen on incrementing port numbers\.
39
+ .
40
+ .TP
41
+ \fB\-o\fR, \fB\-\-socket\-file FILE\fR
42
+ Socket file to run chef\-server\-webui on, defaults to [Merb\.root]/log/merb\.sock\. This is for web servers, like thin, that use sockets\. Specify this \fIonly\fR if you \fImust\fR\.
43
+ .
44
+ .TP
45
+ \fB\-s\fR, \fB\-\-socket SOCKNUM\fR
46
+ Socket number to run chef\-server\-webui on, defaults to 0\.
47
+ .
48
+ .TP
49
+ \fB\-n\fR, \fB\-\-name NAME\fR
50
+ Set the name of the application\. This is used in the process title and log file names\.
51
+ .
52
+ .TP
53
+ \fB\-P\fR, \fB\-\-pid PIDFILE\fR
54
+ PID file, defaults to [Merb\.root]/log/merb\.main\.pid for the master process and[Merb\.root]/log/merb\.[port number]\.pid for worker processes\. For clusters, use %s to specify where in the file chef\-server\-webui should place the port number\. For instance: \-P myapp\.%s\.pid\.
55
+ .
56
+ .TP
57
+ \fB\-h\fR, \fB\-\-host HOSTNAME\fR
58
+ Host to bind to (default is 0\.0\.0\.0)\.
59
+ .
60
+ .TP
61
+ \fB\-m\fR, \fB\-\-merb\-root PATH_TO_APP_ROOT\fR
62
+ The path to the Merb\.root for the app you want to run (default is current working directory)\.
63
+ .
64
+ .TP
65
+ \fB\-a\fR, \fB\-\-adapter ADAPTER\fR
66
+ The rack adapter to use to run chef\-server\-webui (default is mongrel) [mongrel, emongrel, thin, ebb, fastcgi, webrick]\.
67
+ .
68
+ .TP
69
+ \fB\-R\fR, \fB\-\-rackup FILE\fR
70
+ Load an alternate Rack config file (default is config/rack\.rb)\.
71
+ .
72
+ .TP
73
+ \fB\-i\fR, \fB\-\-irb\-console\fR
74
+ This flag will start chef\-server\-webui in irb console mode\. All your models and other classes will be available for you in an irb session\.
75
+ .
76
+ .TP
77
+ \fB\-S\fR, \fB\-\-sandbox\fR
78
+ This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
79
+ .
80
+ .TP
81
+ \fB\-l\fR, \fB\-\-log\-level LEVEL\fR
82
+ Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)\.
83
+ .
84
+ .TP
85
+ \fB\-L\fR, \fB\-\-log LOGFILE\fR
86
+ A string representing the logfile to use\. Defaults to [Merb\.root]/log/merb\.[main]\.log for the master process and [Merb\.root]/log/merb[port number]\.logfor worker processes\.
87
+ .
88
+ .TP
89
+ \fB\-e\fR, \fB\-\-environment STRING\fR
90
+ Environment to run Merb under [development, production, testing] (default is development)\.
91
+ .
92
+ .TP
93
+ \fB\-r\fR, \fB\-\-script\-runner [\'RUBY CODE\'| FULL_SCRIPT_PATH]\fR
94
+ Command\-line option to run scripts and/or code in the chef\-server\-webui app\.
95
+ .
96
+ .TP
97
+ \fB\-K\fR, \fB\-graceful PORT or all\fR
98
+ Gracefully kill chef\-server\-webui proceses by port number\. Use chef\-server \-K all to gracefully kill all merbs\.
99
+ .
100
+ .TP
101
+ \fB\-k\fR, \fB\-\-kill PORT\fR
102
+ Force kill one merb worker by port number\. This will cause the worker to be respawned\.
103
+ .
104
+ .TP
105
+ \fB\-\-fast\-deploy\fR
106
+ Reload the code, but not yourinit\.rb or gems\.
107
+ .
108
+ .TP
109
+ \fB\-X\fR, \fB\-\-mutex on/off\fR
110
+ This flag is for turning the mutex lock on and off\.
111
+ .
112
+ .TP
113
+ \fB\-D\fR, \fB\-\-debugger\fR
114
+ Run chef\-server\-webui using rDebug\.
115
+ .
116
+ .TP
117
+ \fB\-V\fR, \fB\-\-verbose\fR
118
+ Print extra information\.
119
+ .
120
+ .TP
121
+ \fB\-C\fR, \fB\-\-console\-trap\fR
122
+ Enter an irb console on ^C\.
123
+ .
124
+ .TP
125
+ \fB\-?\fR, \fB\-H\fR, \fB\-\-help\fR
126
+ Show this help message\.
127
+ .
128
+ .SH "DESCRIPTION"
129
+ The Chef Server WebUI (Management Console) is a Merb application slice\. The default listen port is 4040\.
130
+ .
131
+ .P
132
+ The Management Console is Chef Server\'s web interface\. Nodes, roles, cookbooks, data bags, and API clients can be managed through the Management Console\. Search can also be done on the console\.
133
+ .
134
+ .P
135
+ In order to start using the Management Console, you need to first create a user or change the default password on the "admin" user\.
136
+ .
137
+ .P
138
+ The default credentials are:
139
+ .
140
+ .IP "\(bu" 4
141
+ \fBUsername\fR: admin
142
+ .
143
+ .IP "\(bu" 4
144
+ \fBPassword\fR: p@ssw0rd1
145
+ .
146
+ .IP "" 0
147
+ .
148
+ .SH "SEE ALSO"
149
+ Full documentation for Chef and chef\-server\-webui (Management Console) is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
150
+ .
151
+ .SH "AUTHOR"
152
+ Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man for the Debian project (but may be used by others)\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
153
+ .
154
+ .P
155
+ On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.
@@ -0,0 +1,147 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "CHEF\-SERVER" "8" "August 2011" "Chef 0.10.4.rc.5" "Chef Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBchef\-server\fR \- Start the Chef Server merb application slice\.
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBchef\-server\fR \fI(options)\fR
11
+ .
12
+ .TP
13
+ \fB\-u\fR, \fB\-\-user USER\fR
14
+ This flag is for having chef\-server\-webui run as a user other than the one currently logged in\. Note: if you set this you must also provide a \-\-group option for it to take effect\.
15
+ .
16
+ .TP
17
+ \fB\-G\fR, \fB\-\-group GROUP\fR
18
+ This flag is for having chef\-server\-webui run as a group other than the one currently logged in\. Note: if you set this you must also provide a \-\-user option for it to take effect\.
19
+ .
20
+ .TP
21
+ \fB\-d\fR, \fB\-\-daemonize\fR
22
+ This will run a single chef\-server\-webui in the background\.
23
+ .
24
+ .TP
25
+ \fB\-N\fR, \fB\-\-no\-daemonize\fR
26
+ This will allow you to run a cluster in console mode\.
27
+ .
28
+ .TP
29
+ \fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
30
+ Number of merb daemons to run for chef\-server\-webui\.
31
+ .
32
+ .TP
33
+ \fB\-I\fR, \fB\-\-init\-file FILE\fR
34
+ File to use for initialization on load, defaults to config/init\.rb\.
35
+ .
36
+ .TP
37
+ \fB\-p\fR, \fB\-\-port PORTNUM\fR
38
+ Port to run chef\-server\-webui on, defaults to 4040\. Additional nodes (\-c) listen on incrementing port numbers\.
39
+ .
40
+ .TP
41
+ \fB\-o\fR, \fB\-\-socket\-file FILE\fR
42
+ Socket file to run chef\-server\-webui on, defaults to [Merb\.root]/log/merb\.sock\. This is for web servers, like thin, that use sockets\. Specify this \fIonly\fR if you \fImust\fR\.
43
+ .
44
+ .TP
45
+ \fB\-s\fR, \fB\-\-socket SOCKNUM\fR
46
+ Socket number to run chef\-server\-webui on, defaults to 0\.
47
+ .
48
+ .TP
49
+ \fB\-n\fR, \fB\-\-name NAME\fR
50
+ Set the name of the application\. This is used in the process title and log file names\.
51
+ .
52
+ .TP
53
+ \fB\-P\fR, \fB\-\-pid PIDFILE\fR
54
+ PID file, defaults to [Merb\.root]/log/merb\.main\.pid for the master process and[Merb\.root]/log/merb\.[port number]\.pid for worker processes\. For clusters, use %s to specify where in the file chef\-server\-webui should place the port number\. For instance: \-P myapp\.%s\.pid\.
55
+ .
56
+ .TP
57
+ \fB\-h\fR, \fB\-\-host HOSTNAME\fR
58
+ Host to bind to (default is 0\.0\.0\.0)\.
59
+ .
60
+ .TP
61
+ \fB\-m\fR, \fB\-\-merb\-root PATH_TO_APP_ROOT\fR
62
+ The path to the Merb\.root for the app you want to run (default is current working directory)\.
63
+ .
64
+ .TP
65
+ \fB\-a\fR, \fB\-\-adapter ADAPTER\fR
66
+ The rack adapter to use to run chef\-server\-webui (default is mongrel) [mongrel, emongrel, thin, ebb, fastcgi, webrick]\.
67
+ .
68
+ .TP
69
+ \fB\-R\fR, \fB\-\-rackup FILE\fR
70
+ Load an alternate Rack config file (default is config/rack\.rb)\.
71
+ .
72
+ .TP
73
+ \fB\-i\fR, \fB\-\-irb\-console\fR
74
+ This flag will start chef\-server\-webui in irb console mode\. All your models and other classes will be available for you in an irb session\.
75
+ .
76
+ .TP
77
+ \fB\-S\fR, \fB\-\-sandbox\fR
78
+ This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
79
+ .
80
+ .TP
81
+ \fB\-l\fR, \fB\-\-log\-level LEVEL\fR
82
+ Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)\.
83
+ .
84
+ .TP
85
+ \fB\-L\fR, \fB\-\-log LOGFILE\fR
86
+ A string representing the logfile to use\. Defaults to [Merb\.root]/log/merb\.[main]\.log for the master process and [Merb\.root]/log/merb[port number]\.logfor worker processes\.
87
+ .
88
+ .TP
89
+ \fB\-e\fR, \fB\-\-environment STRING\fR
90
+ Environment to run Merb under [development, production, testing] (default is development)\.
91
+ .
92
+ .TP
93
+ \fB\-r\fR, \fB\-\-script\-runner [\'RUBY CODE\'| FULL_SCRIPT_PATH]\fR
94
+ Command\-line option to run scripts and/or code in the chef\-server\-webui app\.
95
+ .
96
+ .TP
97
+ \fB\-K\fR, \fB\-graceful PORT or all\fR
98
+ Gracefully kill chef\-server\-webui proceses by port number\. Use chef\-server \-K all to gracefully kill all merbs\.
99
+ .
100
+ .TP
101
+ \fB\-k\fR, \fB\-\-kill PORT\fR
102
+ Force kill one merb worker by port number\. This will cause the worker to be respawned\.
103
+ .
104
+ .TP
105
+ \fB\-\-fast\-deploy\fR
106
+ Reload the code, but not yourinit\.rb or gems\.
107
+ .
108
+ .TP
109
+ \fB\-X\fR, \fB\-\-mutex on/off\fR
110
+ This flag is for turning the mutex lock on and off\.
111
+ .
112
+ .TP
113
+ \fB\-D\fR, \fB\-\-debugger\fR
114
+ Run chef\-server\-webui using rDebug\.
115
+ .
116
+ .TP
117
+ \fB\-V\fR, \fB\-\-verbose\fR
118
+ Print extra information\.
119
+ .
120
+ .TP
121
+ \fB\-C\fR, \fB\-\-console\-trap\fR
122
+ Enter an irb console on ^C\.
123
+ .
124
+ .TP
125
+ \fB\-?\fR, \fB\-H\fR, \fB\-\-help\fR
126
+ Show this help message\.
127
+ .
128
+ .SH "DESCRIPTION"
129
+ The Chef Server provides a central point for the distribution of Cookbooks, management and authentication of Nodes, and the use of Search\. It provides a REST API\.
130
+ .
131
+ .P
132
+ The API service is what clients use to interact with the server to manage node configuration in Chef\. By default, the service is started on port 4000 as a Merb application slice running with the thin server adapter\.
133
+ .
134
+ .P
135
+ The two methods of interaction with the API for humans are the command\-line tool Knife and the Management Console\. The Chef Client library is used for interacting with the API for client nodes\.
136
+ .
137
+ .SH "SEE ALSO"
138
+ \fBchef\-client\fR(8) \fBchef\-server\-webui\fR(8) \fBknife\fR(1)
139
+ .
140
+ .P
141
+ Full documentation for Chef and chef\-server is located on the Chef wiki, http://wiki\.opscode\.com/display/chef/Home\.
142
+ .
143
+ .SH "AUTHOR"
144
+ Chef was written by Adam Jacob \fIadam@ospcode\.com\fR of Opscode (http://www\.opscode\.com), with contributions from the community\. This manual page was written by Joshua Timberman \fIjoshua@opscode\.com\fR with help2man\. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2\.0 License\.
145
+ .
146
+ .P
147
+ On Debian systems, the complete text of the Apache 2\.0 License can be found in /usr/share/common\-licenses/Apache\-2\.0\.