chef 0.10.0.beta.9 → 0.10.0.beta.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -0
- data/distro/common/html/chef-client.8.html +141 -0
- data/distro/common/html/chef-expander-cluster.8.html +164 -0
- data/distro/common/html/chef-expanderctl.8.html +146 -0
- data/distro/common/html/chef-server-webui.8.html +185 -0
- data/distro/common/html/chef-server.8.html +182 -0
- data/distro/common/html/chef-solo.8.html +191 -0
- data/distro/common/html/chef-solr.8.html +163 -0
- data/distro/common/html/knife-bootstrap.1.html +3 -3
- data/distro/common/html/knife-client.1.html +3 -3
- data/distro/common/html/knife-configure.1.html +1 -1
- data/distro/common/html/knife-cookbook-site.1.html +3 -3
- data/distro/common/html/knife-cookbook.1.html +3 -3
- data/distro/common/html/knife-data-bag.1.html +1 -1
- data/distro/common/html/knife-environment.1.html +3 -3
- data/distro/common/html/knife-exec.1.html +3 -3
- data/distro/common/html/knife-index.1.html +1 -1
- data/distro/common/html/knife-node.1.html +3 -3
- data/distro/common/html/knife-recipe.1.html +1 -1
- data/distro/common/html/knife-role.1.html +3 -3
- data/distro/common/html/knife-search.1.html +3 -3
- data/distro/common/html/knife-ssh.1.html +3 -3
- data/distro/common/html/knife-status.1.html +3 -3
- data/distro/common/html/knife-tag.1.html +3 -3
- data/distro/common/html/knife.1.html +3 -3
- data/distro/common/html/shef.1.html +3 -3
- data/distro/common/man/man1/knife-bootstrap.1 +1 -1
- data/distro/common/man/man1/knife-client.1 +1 -1
- data/distro/common/man/man1/knife-configure.1 +1 -1
- data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
- data/distro/common/man/man1/knife-cookbook.1 +1 -1
- data/distro/common/man/man1/knife-data-bag.1 +1 -1
- data/distro/common/man/man1/knife-environment.1 +1 -1
- data/distro/common/man/man1/knife-exec.1 +1 -1
- data/distro/common/man/man1/knife-index.1 +1 -1
- data/distro/common/man/man1/knife-node.1 +1 -1
- data/distro/common/man/man1/knife-role.1 +1 -1
- data/distro/common/man/man1/knife-search.1 +1 -1
- data/distro/common/man/man1/knife-ssh.1 +1 -1
- data/distro/common/man/man1/knife-status.1 +1 -1
- data/distro/common/man/man1/knife-tag.1 +1 -1
- data/distro/common/man/man1/knife.1 +1 -1
- data/distro/common/man/man1/shef.1 +1 -1
- data/distro/common/man/man8/chef-client.8 +53 -32
- data/distro/common/man/man8/chef-expander-cluster.8 +97 -0
- data/distro/common/man/man8/chef-expanderctl.8 +62 -0
- data/distro/common/man/man8/chef-server-webui.8 +121 -72
- data/distro/common/man/man8/chef-server.8 +113 -73
- data/distro/common/man/man8/chef-solo.8 +131 -30
- data/distro/common/man/man8/chef-solr.8 +85 -26
- data/distro/common/markdown/man8/chef-client.mkd +65 -0
- data/distro/common/markdown/man8/chef-expander-cluster.mkd +82 -0
- data/distro/common/markdown/man8/chef-expanderctl.mkd +58 -0
- data/distro/common/markdown/man8/chef-server-webui.mkd +121 -0
- data/distro/common/markdown/man8/chef-server.mkd +121 -0
- data/distro/common/markdown/man8/chef-solo.mkd +107 -0
- data/distro/common/markdown/man8/chef-solr.mkd +85 -0
- data/lib/chef/config.rb +1 -1
- data/lib/chef/cookbook/metadata.rb +1 -0
- data/lib/chef/cookbook_uploader.rb +12 -5
- data/lib/chef/couchdb.rb +21 -21
- data/lib/chef/file_access_control.rb +4 -4
- data/lib/chef/knife.rb +11 -3
- data/lib/chef/knife/bootstrap/centos5-gems.erb +13 -7
- data/lib/chef/knife/bootstrap/fedora13-gems.erb +1 -1
- data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +2 -2
- data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +1 -1
- data/lib/chef/knife/client_create.rb +1 -1
- data/lib/chef/knife/configure.rb +10 -1
- data/lib/chef/knife/cookbook_bulk_delete.rb +13 -3
- data/lib/chef/knife/cookbook_site_download.rb +5 -5
- data/lib/chef/knife/cookbook_site_install.rb +5 -5
- data/lib/chef/knife/cookbook_site_list.rb +6 -2
- data/lib/chef/knife/cookbook_site_search.rb +1 -1
- data/lib/chef/knife/cookbook_site_show.rb +3 -3
- data/lib/chef/knife/cookbook_upload.rb +7 -8
- data/lib/chef/knife/core/ui.rb +1 -1
- data/lib/chef/knife/node_bulk_delete.rb +37 -3
- data/lib/chef/knife/recipe_list.rb +0 -1
- data/lib/chef/knife/role_bulk_delete.rb +27 -4
- data/lib/chef/mixin/language.rb +2 -2
- data/lib/chef/resource/deploy_revision.rb +5 -0
- data/lib/chef/rest.rb +5 -8
- data/lib/chef/version.rb +1 -1
- data/lib/chef/version_class.rb +4 -4
- metadata +20 -4
@@ -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" "April 2011" "Chef 0.10.0.beta.10" "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\.
|
@@ -1,106 +1,155 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.
|
5
|
-
.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
.
|
10
|
-
\
|
11
|
-
|
12
|
-
.TP
|
13
|
-
\fB\-
|
14
|
-
This flag is for having chef
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "CHEF\-SERVER\-WEBUI" "8" "April 2011" "Chef 0.10.0.beta.10" "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
|
+
.
|
15
20
|
.TP
|
16
21
|
\fB\-d\fR, \fB\-\-daemonize\fR
|
17
|
-
This will run a single chef
|
22
|
+
This will run a single chef\-server\-webui in the background\.
|
23
|
+
.
|
18
24
|
.TP
|
19
25
|
\fB\-N\fR, \fB\-\-no\-daemonize\fR
|
20
|
-
This will allow you to run a cluster in console mode
|
26
|
+
This will allow you to run a cluster in console mode\.
|
27
|
+
.
|
21
28
|
.TP
|
22
|
-
\fB\-c\fR, \fB\-\-cluster\-nodes\fR
|
23
|
-
Number of merb daemons to run for chef
|
29
|
+
\fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
|
30
|
+
Number of merb daemons to run for chef\-server\-webui\.
|
31
|
+
.
|
24
32
|
.TP
|
25
|
-
\fB\-I\fR, \fB\-\-init\-file\fR
|
26
|
-
File to use for initialization on load, defaults to config/init
|
33
|
+
\fB\-I\fR, \fB\-\-init\-file FILE\fR
|
34
|
+
File to use for initialization on load, defaults to config/init\.rb\.
|
35
|
+
.
|
27
36
|
.TP
|
28
|
-
\fB\-p\fR, \fB\-\-port\fR
|
29
|
-
Port to run chef
|
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
|
+
.
|
30
40
|
.TP
|
31
|
-
\fB\-o\fR, \fB\-\-socket\-file\fR
|
32
|
-
Socket file to run chef
|
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
|
+
.
|
33
44
|
.TP
|
34
|
-
\fB\-s\fR, \fB\-\-socket\fR
|
35
|
-
Socket number to run chef
|
45
|
+
\fB\-s\fR, \fB\-\-socket SOCKNUM\fR
|
46
|
+
Socket number to run chef\-server\-webui on, defaults to 0\.
|
47
|
+
.
|
36
48
|
.TP
|
37
|
-
\fB\-n\fR, \fB\-\-name\fR
|
38
|
-
Set the name of the application
|
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
|
+
.
|
39
52
|
.TP
|
40
|
-
\fB\-P\fR, \fB\-\-pid\fR
|
41
|
-
PID file, defaults to [Merb
|
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
|
+
.
|
42
56
|
.TP
|
43
|
-
\fB\-h\fR, \fB\-\-host\fR
|
44
|
-
Host to bind to (default is 0
|
45
|
-
.
|
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).
|
57
|
+
\fB\-h\fR, \fB\-\-host HOSTNAME\fR
|
58
|
+
Host to bind to (default is 0\.0\.0\.0)\.
|
59
|
+
.
|
47
60
|
.TP
|
48
|
-
\fB\-
|
49
|
-
The
|
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
|
+
.
|
50
64
|
.TP
|
51
|
-
\fB\-
|
52
|
-
|
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
|
+
.
|
53
72
|
.TP
|
54
73
|
\fB\-i\fR, \fB\-\-irb\-console\fR
|
55
|
-
This flag will start chef
|
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
|
+
.
|
56
76
|
.TP
|
57
77
|
\fB\-S\fR, \fB\-\-sandbox\fR
|
58
|
-
This flag will enable a sandboxed irb console
|
78
|
+
This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
|
79
|
+
.
|
59
80
|
.TP
|
60
|
-
\fB\-l\fR, \fB\-\-log\-level\fR
|
61
|
-
Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)
|
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
|
+
.
|
62
84
|
.TP
|
63
|
-
\fB\-L\fR, \fB\-\-log\fR
|
64
|
-
A string representing the logfile to use
|
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
|
+
.
|
65
88
|
.TP
|
66
|
-
\fB\-e\fR, \fB\-\-environment\fR
|
67
|
-
Environment to run Merb under [development, production, testing] (default is development)
|
68
|
-
.
|
69
|
-
\fB\-r\fR ['RUBY CODE'| FULL_SCRIPT_PATH]
|
89
|
+
\fB\-e\fR, \fB\-\-environment STRING\fR
|
90
|
+
Environment to run Merb under [development, production, testing] (default is development)\.
|
91
|
+
.
|
70
92
|
.TP
|
71
|
-
\fB\-\-script\-runner\fR
|
72
|
-
Command\-line option to run scripts and/or code in the chef
|
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
|
+
.
|
73
96
|
.TP
|
74
|
-
\fB\-K\fR, \fB
|
75
|
-
Gracefully kill chef
|
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
|
+
.
|
76
100
|
.TP
|
77
|
-
\fB\-k\fR, \fB\-\-kill\fR
|
78
|
-
Force kill one merb worker by port number
|
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
|
+
.
|
79
104
|
.TP
|
80
105
|
\fB\-\-fast\-deploy\fR
|
81
|
-
Reload the code, but not yourinit
|
106
|
+
Reload the code, but not yourinit\.rb or gems\.
|
107
|
+
.
|
82
108
|
.TP
|
83
|
-
\fB\-X\fR, \fB\-\-mutex
|
84
|
-
This flag is for turning the mutex lock on and off
|
109
|
+
\fB\-X\fR, \fB\-\-mutex on/off\fR
|
110
|
+
This flag is for turning the mutex lock on and off\.
|
111
|
+
.
|
85
112
|
.TP
|
86
113
|
\fB\-D\fR, \fB\-\-debugger\fR
|
87
|
-
Run chef
|
114
|
+
Run chef\-server\-webui using rDebug\.
|
115
|
+
.
|
88
116
|
.TP
|
89
117
|
\fB\-V\fR, \fB\-\-verbose\fR
|
90
|
-
Print extra information
|
118
|
+
Print extra information\.
|
119
|
+
.
|
91
120
|
.TP
|
92
121
|
\fB\-C\fR, \fB\-\-console\-trap\fR
|
93
|
-
Enter an irb console on ^C
|
94
|
-
.
|
95
|
-
|
96
|
-
|
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
|
+
.
|
97
148
|
.SH "SEE ALSO"
|
98
|
-
Full documentation for Chef and chef
|
99
|
-
.
|
100
|
-
|
101
|
-
This manual page was written by Joshua Timberman
|
102
|
-
|
103
|
-
|
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.
|
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\.
|
@@ -1,107 +1,147 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
.
|
5
|
-
.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "CHEF\-SERVER" "8" "April 2011" "Chef 0.10.0.beta.10" "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
|
+
.
|
16
20
|
.TP
|
17
21
|
\fB\-d\fR, \fB\-\-daemonize\fR
|
18
|
-
This will run a single chef
|
22
|
+
This will run a single chef\-server\-webui in the background\.
|
23
|
+
.
|
19
24
|
.TP
|
20
25
|
\fB\-N\fR, \fB\-\-no\-daemonize\fR
|
21
|
-
This will allow you to run a cluster in console mode
|
26
|
+
This will allow you to run a cluster in console mode\.
|
27
|
+
.
|
22
28
|
.TP
|
23
|
-
\fB\-c\fR, \fB\-\-cluster\-nodes\fR
|
24
|
-
Number of merb daemons to run for chef
|
29
|
+
\fB\-c\fR, \fB\-\-cluster\-nodes NUM_MERBS\fR
|
30
|
+
Number of merb daemons to run for chef\-server\-webui\.
|
31
|
+
.
|
25
32
|
.TP
|
26
|
-
\fB\-I\fR, \fB\-\-init\-file\fR
|
27
|
-
File to use for initialization on load, defaults to config/init
|
33
|
+
\fB\-I\fR, \fB\-\-init\-file FILE\fR
|
34
|
+
File to use for initialization on load, defaults to config/init\.rb\.
|
35
|
+
.
|
28
36
|
.TP
|
29
|
-
\fB\-p\fR, \fB\-\-port\fR
|
30
|
-
Port to run chef
|
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
|
+
.
|
31
40
|
.TP
|
32
|
-
\fB\-o\fR, \fB\-\-socket\-file\fR
|
33
|
-
Socket file to run chef
|
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
|
+
.
|
34
44
|
.TP
|
35
|
-
\fB\-s\fR, \fB\-\-socket\fR
|
36
|
-
Socket number to run chef
|
45
|
+
\fB\-s\fR, \fB\-\-socket SOCKNUM\fR
|
46
|
+
Socket number to run chef\-server\-webui on, defaults to 0\.
|
47
|
+
.
|
37
48
|
.TP
|
38
|
-
\fB\-n\fR, \fB\-\-name\fR
|
39
|
-
Set the name of the application
|
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
|
+
.
|
40
52
|
.TP
|
41
|
-
\fB\-P\fR, \fB\-\-pid\fR
|
42
|
-
PID file, defaults to [Merb
|
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
|
+
.
|
43
56
|
.TP
|
44
|
-
\fB\-h\fR, \fB\-\-host\fR
|
45
|
-
Host to bind to (default is 0
|
46
|
-
.
|
47
|
-
\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).
|
57
|
+
\fB\-h\fR, \fB\-\-host HOSTNAME\fR
|
58
|
+
Host to bind to (default is 0\.0\.0\.0)\.
|
59
|
+
.
|
48
60
|
.TP
|
49
|
-
\fB\-
|
50
|
-
The
|
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
|
+
.
|
51
64
|
.TP
|
52
|
-
\fB\-
|
53
|
-
|
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
|
+
.
|
54
72
|
.TP
|
55
73
|
\fB\-i\fR, \fB\-\-irb\-console\fR
|
56
|
-
This flag will start chef
|
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
|
+
.
|
57
76
|
.TP
|
58
77
|
\fB\-S\fR, \fB\-\-sandbox\fR
|
59
|
-
This flag will enable a sandboxed irb console
|
78
|
+
This flag will enable a sandboxed irb console\. If your ORM supports transactions, all edits will be rolled back on exit\.
|
79
|
+
.
|
60
80
|
.TP
|
61
|
-
\fB\-l\fR, \fB\-\-log\-level\fR
|
62
|
-
Log levels can be set to any of these options: debug < info < warn < error < fatal (default is info)
|
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
|
+
.
|
63
84
|
.TP
|
64
|
-
\fB\-L\fR, \fB\-\-log\fR
|
65
|
-
A string representing the logfile to use
|
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
|
+
.
|
66
88
|
.TP
|
67
|
-
\fB\-e\fR, \fB\-\-environment\fR
|
68
|
-
Environment to run Merb under [development, production, testing] (default is development)
|
69
|
-
.
|
70
|
-
\fB\-r\fR ['RUBY CODE'| FULL_SCRIPT_PATH]
|
89
|
+
\fB\-e\fR, \fB\-\-environment STRING\fR
|
90
|
+
Environment to run Merb under [development, production, testing] (default is development)\.
|
91
|
+
.
|
71
92
|
.TP
|
72
|
-
\fB\-\-script\-runner\fR
|
73
|
-
Command\-line option to run scripts and/or code in the chef
|
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
|
+
.
|
74
96
|
.TP
|
75
|
-
\fB\-K\fR, \fB
|
76
|
-
Gracefully kill chef
|
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
|
+
.
|
77
100
|
.TP
|
78
|
-
\fB\-k\fR, \fB\-\-kill\fR
|
79
|
-
Force kill one merb worker by port number
|
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
|
+
.
|
80
104
|
.TP
|
81
105
|
\fB\-\-fast\-deploy\fR
|
82
|
-
Reload the code, but not yourinit
|
106
|
+
Reload the code, but not yourinit\.rb or gems\.
|
107
|
+
.
|
83
108
|
.TP
|
84
|
-
\fB\-X\fR, \fB\-\-mutex
|
85
|
-
This flag is for turning the mutex lock on and off
|
109
|
+
\fB\-X\fR, \fB\-\-mutex on/off\fR
|
110
|
+
This flag is for turning the mutex lock on and off\.
|
111
|
+
.
|
86
112
|
.TP
|
87
113
|
\fB\-D\fR, \fB\-\-debugger\fR
|
88
|
-
Run chef
|
114
|
+
Run chef\-server\-webui using rDebug\.
|
115
|
+
.
|
89
116
|
.TP
|
90
117
|
\fB\-V\fR, \fB\-\-verbose\fR
|
91
|
-
Print extra information
|
118
|
+
Print extra information\.
|
119
|
+
.
|
92
120
|
.TP
|
93
121
|
\fB\-C\fR, \fB\-\-console\-trap\fR
|
94
|
-
Enter an irb console on ^C
|
95
|
-
.
|
96
|
-
|
97
|
-
|
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
|
+
.
|
98
137
|
.SH "SEE ALSO"
|
99
|
-
|
100
|
-
.
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
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\.
|