Skip to content

Commit f8c8752

Browse files
mdkentdanielsdeleo
authored andcommitted
CHEF-1130: Sync init scripts, sysconfig and man pages with latest Chef rpm
packages. Init scripts were rewritten based on Fedora guidelines.
1 parent 742a1ab commit f8c8752

19 files changed

Lines changed: 759 additions & 310 deletions
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
.TH CHEF-SERVER-WEBUI "1" "March 2010" "chef-server-webui" "User Commands"
2+
.SH NAME
3+
chef-server-webui \- Start the Chef Server merb application slice providing Web User Interface.
4+
.SH SYNOPSIS
5+
.B chef-server-webui
6+
[\fIuGdcIpPhmailLerkKX\fR] [\fIargument\fR]
7+
.SH DESCRIPTION
8+
The Chef Server WebUI is a Merb application slice. The default listen port is 4040.
9+
.TP
10+
\fB\-u\fR, \fB\-\-user\fR USER
11+
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 \fB\-\-group\fR option for it to take effect.
12+
.TP
13+
\fB\-G\fR, \fB\-\-group\fR GROUP
14+
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 \fB\-\-user\fR option for it to take effect.
15+
.TP
16+
\fB\-d\fR, \fB\-\-daemonize\fR
17+
This will run a single chef-server-webui in the background.
18+
.TP
19+
\fB\-N\fR, \fB\-\-no\-daemonize\fR
20+
This will allow you to run a cluster in console mode
21+
.TP
22+
\fB\-c\fR, \fB\-\-cluster\-nodes\fR NUM_MERBS
23+
Number of merb daemons to run for chef-server-webui.
24+
.TP
25+
\fB\-I\fR, \fB\-\-init\-file\fR FILE
26+
File to use for initialization on load, defaults to config/init.rb
27+
.TP
28+
\fB\-p\fR, \fB\-\-port\fR PORTNUM
29+
Port to run chef-server-webui on, defaults to 4040. Additional nodes (\-c) listen on incrementing port numbers.
30+
.TP
31+
\fB\-o\fR, \fB\-\-socket\-file\fR FILE
32+
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 *only* if you *must*.
33+
.TP
34+
\fB\-s\fR, \fB\-\-socket\fR SOCKNUM
35+
Socket number to run chef-server-webui on, defaults to 0.
36+
.TP
37+
\fB\-n\fR, \fB\-\-name\fR NAME
38+
Set the name of the application. This is used in the process title and log file names.
39+
.TP
40+
\fB\-P\fR, \fB\-\-pid\fR PIDFILE
41+
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: \fB\-P\fR myapp.%s.pid
42+
.TP
43+
\fB\-h\fR, \fB\-\-host\fR HOSTNAME
44+
Host to bind to (default is 0.0.0.0).
45+
.HP
46+
\fB\-m\fR, \fB\-\-merb\-root\fR /path/to/approot The path to the Merb.root for the app you want to run (default is current working directory).
47+
.TP
48+
\fB\-a\fR, \fB\-\-adapter\fR ADAPTER
49+
The rack adapter to use to run chef-server-webui (default is mongrel)[mongrel, emongrel, thin, ebb, fastcgi, webrick]
50+
.TP
51+
\fB\-R\fR, \fB\-\-rackup\fR FILE
52+
Load an alternate Rack config file (default is config/rack.rb)
53+
.TP
54+
\fB\-i\fR, \fB\-\-irb\-console\fR
55+
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.
56+
.TP
57+
\fB\-S\fR, \fB\-\-sandbox\fR
58+
This flag will enable a sandboxed irb console. If your ORM supports transactions, all edits will be rolled back on exit.
59+
.TP
60+
\fB\-l\fR, \fB\-\-log\-level\fR LEVEL
61+
Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)
62+
.TP
63+
\fB\-L\fR, \fB\-\-log\fR LOGFILE
64+
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
65+
.TP
66+
\fB\-e\fR, \fB\-\-environment\fR STRING
67+
Environment to run Merb under [development, production, testing] (default is development)
68+
.HP
69+
\fB\-r\fR ['RUBY CODE'| FULL_SCRIPT_PATH]
70+
.TP
71+
\fB\-\-script\-runner\fR
72+
Command\-line option to run scripts and/or code in the chef-server-webui app.
73+
.TP
74+
\fB\-K\fR, \fB\-\-graceful\fR PORT or all
75+
Gracefully kill chef-server-webui proceses by port number. Use chef-server \fB\-K\fR all to gracefully kill all merbs.
76+
.TP
77+
\fB\-k\fR, \fB\-\-kill\fR PORT
78+
Force kill one merb worker by port number. This will cause the worker tobe respawned.
79+
.TP
80+
\fB\-\-fast\-deploy\fR
81+
Reload the code, but not yourinit.rb or gems
82+
.TP
83+
\fB\-X\fR, \fB\-\-mutex\fR on/off
84+
This flag is for turning the mutex lock on and off.
85+
.TP
86+
\fB\-D\fR, \fB\-\-debugger\fR
87+
Run chef-server-webui using rDebug.
88+
.TP
89+
\fB\-V\fR, \fB\-\-verbose\fR
90+
Print extra information
91+
.TP
92+
\fB\-C\fR, \fB\-\-console\-trap\fR
93+
Enter an irb console on ^C
94+
.TP
95+
\-?, \fB\-H\fR, \fB\-\-help\fR
96+
Show this help message
97+
.SH "SEE ALSO"
98+
Full documentation for Chef and chef-server-webui is located on the Chef wiki, http://wiki.opscode.com/display/chef/Home.
99+
.SH AUTHOR
100+
Chef was written by Adam Jacob <adam@ospcode.com> of Opscode (http://www.opscode.com), with contributions from the community.
101+
This manual page was written by Joshua Timberman <joshua@opscode.com> with help2man
102+
for the Debian project (but may be used by others).. Permission is granted
103+
to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
104+
105+
On Debian systems, the complete text of the Apache 2.0 License can be found in
106+
/usr/share/common-licenses/Apache-2.0.

‎chef/distro/common/man/man1/chef-server.1‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
21
.TH CHEF-SERVER "1" "August 2009" "chef-server" "User Commands"
32
.SH NAME
43
chef-server \- Start the Chef Server merb application slice.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
.TH CHEF-SOLR-INDEXER: "1" "March 2010" "chef-solr-indexer" "User Commands"
2+
.SH NAME
3+
chef-solr-indexer: \- manual page for chef-solr-indexer
4+
.SH SYNOPSIS
5+
.B chef-solr-indexer
6+
\fI(options)\fR
7+
.SH DESCRIPTION
8+
.TP
9+
\fB\-\-amqp\-host\fR HOST
10+
The amqp host
11+
.TP
12+
\fB\-\-amqp\-pass\fR PASS
13+
The amqp password
14+
.TP
15+
\fB\-\-amqp\-port\fR PORT
16+
The amqp port
17+
.TP
18+
\fB\-\-amqp\-user\fR USER
19+
The amqp user
20+
.TP
21+
\fB\-\-amqp\-vhost\fR VHOST
22+
The amqp vhost
23+
.TP
24+
\fB\-c\fR, \fB\-\-config\fR CONFIG
25+
The configuration file to use
26+
.TP
27+
\fB\-d\fR, \fB\-\-daemonize\fR
28+
Daemonize the process
29+
.TP
30+
\fB\-g\fR, \fB\-\-group\fR GROUP
31+
Group to set privilege to
32+
.TP
33+
\fB\-l\fR, \fB\-\-log_level\fR LEVEL
34+
Set the log level (debug, info, warn, error, fatal)
35+
.TP
36+
\fB\-L\fR, \fB\-\-logfile\fR LOGLOCATION
37+
Set the log file location, defaults to STDOUT \- recommended for daemonizing
38+
.TP
39+
\fB\-u\fR, \fB\-\-user\fR USER
40+
User to set privilege to
41+
.TP
42+
\fB\-v\fR, \fB\-\-version\fR
43+
Show chef\-solr\-indexer version
44+
.TP
45+
\fB\-h\fR, \fB\-\-help\fR
46+
Show this message
47+
.SH "SEE ALSO"
48+
Full documentation for Chef and chef-solr is located on the Chef wiki, http://wiki.opscode.com/display/chef/Home.
49+
.SH AUTHOR
50+
chef-solr-indexer was written by Adam Jacob <adam@ospcode.com> of Opscode (http://www.opscode.com), with contributions from the community.
51+
This manual page was written by Joshua Timberman <joshua@opscode.com> with help2man. Permission is granted
52+
to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
53+
54+
On Debian systems, the complete text of the Apache 2.0 License can be found in
55+
/usr/share/common-licenses/Apache-2.0.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
.TH CHEF-SOLR: "1" "March 2010" "chef-solr" "User Commands"
2+
.SH NAME
3+
chef-solr: \- manual page for chef-solr
4+
.SH SYNOPSIS
5+
.B chef-solr
6+
\fI(options)\fR
7+
.SH DESCRIPTION
8+
.TP
9+
\fB\-c\fR, \fB\-\-config\fR CONFIG
10+
The configuration file to use
11+
.TP
12+
\fB\-d\fR, \fB\-\-daemonize\fR
13+
Daemonize the process
14+
.TP
15+
\fB\-g\fR, \fB\-\-group\fR GROUP
16+
Group to set privilege to
17+
.TP
18+
\fB\-l\fR, \fB\-\-log_level\fR LEVEL
19+
Set the log level (debug, info, warn, error, fatal)
20+
.TP
21+
\fB\-L\fR, \fB\-\-logfile\fR LOGLOCATION
22+
Set the log file location, defaults to STDOUT \- recommended for daemonizing
23+
.TP
24+
\fB\-D\fR, \fB\-\-solr\-data\-dir\fR PATH
25+
Where the Solr data lives
26+
.TP
27+
\fB\-x\fR, \fB\-\-solor\-heap\-size\fR SIZE
28+
Set the size of the Java Heap
29+
.TP
30+
\fB\-H\fR, \fB\-\-solr\-home\-dir\fR PATH
31+
Solr home directory
32+
.TP
33+
\fB\-j\fR, \fB\-\-java\-opts\fR OPTS
34+
Raw options passed to Java
35+
.TP
36+
\fB\-W\fR, \fB\-\-solr\-jetty\-dir\fR PATH
37+
Where to place the Solr Jetty instance
38+
.TP
39+
\fB\-u\fR, \fB\-\-user\fR USER
40+
User to set privilege to
41+
.TP
42+
\fB\-v\fR, \fB\-\-version\fR
43+
Show chef\-solr version
44+
.TP
45+
\fB\-h\fR, \fB\-\-help\fR
46+
Show this message
47+
.SH "SEE ALSO"
48+
Full documentation for Chef and chef-solr is located on the Chef wiki, http://wiki.opscode.com/display/chef/Home.
49+
.SH AUTHOR
50+
chef-solr was written by Adam Jacob <adam@ospcode.com> of Opscode (http://www.opscode.com), with contributions from the community.
51+
This manual page was written by Joshua Timberman <joshua@opscode.com> with help2man. Permission is granted
52+
to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
53+
54+
On Debian systems, the complete text of the Apache 2.0 License can be found in
55+
/usr/share/common-licenses/Apache-2.0.

‎chef/distro/common/man/man8/chef-client.8‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
2-
.TH CHEF-CLIENT: "8" "August 2009" "chef-client 0.7.8" "System Administration Utilities"
1+
.TH CHEF-CLIENT: "8" "August 2009" "chef-client" "System Administration Utilities"
32
.SH NAME
43
chef-client: \- Runs a client node connecting to a chef-server.
54
.SH SYNOPSIS
@@ -33,6 +32,9 @@ Set the log level (debug, info, warn, error, fatal)
3332
\fB\-L\fR, \fB\-\-logfile\fR LOGLOCATION
3433
Set the log file location, defaults to STDOUT \- recommended for daemonizing
3534
.TP
35+
\fB\-V\fR, \fB\-\-verbose\fR
36+
Ensures logging goes to STDOUT as well as to other configured log location(s).
37+
.TP
3638
\fB\-N\fR, \fB\-\-node\-name\fR NODE_NAME
3739
The node name for this client
3840
.TP

‎chef/distro/common/man/man8/chef-solo.8‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
2-
.TH CHEF-SOLO: "8" "August 2009" "chef-solo 0.7.8" "System Administration Utilities"
1+
.TH CHEF-SOLO: "8" "August 2009" "chef-solo" "System Administration Utilities"
32
.SH NAME
43
chef-solo: \- Runs chef in solo mode against a specified cookbook location.
54
.SH SYNOPSIS
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.TH CHEF-SOLR-REBUILD: "1" "March 2010" "chef-solr-rebuild" "User Commands"
2+
.SH NAME
3+
chef-solr-rebuild: \- manual page for chef-solr-rebuild
4+
.SH SYNOPSIS
5+
.B chef-solr-rebuild
6+
\fI(options)\fR
7+
.SH DESCRIPTION
8+
.TP
9+
\fB\-c\fR, \fB\-\-config\fR CONFIG
10+
The configuration file to use
11+
.TP
12+
\fB\-d\fR, \fB\-\-couchdb\-database\fR DB
13+
The CouchDB Database to re\-index
14+
.TP
15+
\fB\-u\fR, \fB\-\-couchdb\-url\fR URL
16+
The CouchDB URL
17+
.TP
18+
\fB\-l\fR, \fB\-\-log_level\fR LEVEL
19+
Set the log level (debug, info, warn, error, fatal)
20+
.TP
21+
\fB\-L\fR, \fB\-\-logfile\fR LOGLOCATION
22+
Set the log file location, defaults to STDOUT \- recommended for daemonizing
23+
.TP
24+
\fB\-v\fR, \fB\-\-version\fR
25+
Show chef\-solr\-rebuild version
26+
.TP
27+
\fB\-h\fR, \fB\-\-help\fR
28+
Show this message
29+
.SH "SEE ALSO"
30+
Full documentation for Chef and chef-solr is located on the Chef wiki, http://wiki.opscode.com/display/chef/Home.
31+
.SH AUTHOR
32+
chef-solr-rebuild was written by Adam Jacob <adam@ospcode.com> of Opscode (http://www.opscode.com), with contributions from the community.
33+
This manual page was written by Joshua Timberman <joshua@opscode.com> with help2man. Permission is granted
34+
to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
35+
36+
On Debian systems, the complete text of the Apache 2.0 License can be found in
37+
/usr/share/common-licenses/Apache-2.0.

0 commit comments

Comments
 (0)