chef 0.10.4 → 0.10.6.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/distro/common/html/chef-client.8.html +9 -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 +6 -4
  8. data/distro/common/html/knife-bootstrap.1.html +13 -11
  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 +7 -5
  12. data/distro/common/html/knife-cookbook.1.html +10 -8
  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 +5 -26
  18. data/distro/common/html/knife-role.1.html +4 -4
  19. data/distro/common/html/knife-search.1.html +9 -8
  20. data/distro/common/html/knife-ssh.1.html +10 -10
  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 +36 -10
  24. data/distro/common/html/shef.1.html +4 -4
  25. data/distro/common/man/man1/knife-bootstrap.1 +18 -10
  26. data/distro/common/man/man1/knife-client.1 +1 -1
  27. data/distro/common/man/man1/knife-configure.1 +1 -1
  28. data/distro/common/man/man1/knife-cookbook-site.1 +10 -2
  29. data/distro/common/man/man1/knife-cookbook.1 +10 -5
  30. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  31. data/distro/common/man/man1/knife-environment.1 +1 -1
  32. data/distro/common/man/man1/knife-exec.1 +1 -1
  33. data/distro/common/man/man1/knife-index.1 +1 -1
  34. data/distro/common/man/man1/knife-node.1 +2 -22
  35. data/distro/common/man/man1/knife-role.1 +1 -1
  36. data/distro/common/man/man1/knife-search.1 +8 -5
  37. data/distro/common/man/man1/knife-ssh.1 +17 -12
  38. data/distro/common/man/man1/knife-status.1 +1 -1
  39. data/distro/common/man/man1/knife-tag.1 +1 -1
  40. data/distro/common/man/man1/knife.1 +50 -9
  41. data/distro/common/man/man1/shef.1 +1 -1
  42. data/distro/common/man/man8/chef-client.8 +21 -1
  43. data/distro/common/man/man8/chef-expander.8 +1 -1
  44. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  45. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  46. data/distro/common/man/man8/chef-server.8 +1 -1
  47. data/distro/common/man/man8/chef-solo.8 +1 -1
  48. data/distro/common/man/man8/chef-solr.8 +9 -1
  49. data/distro/common/markdown/man1/knife-bootstrap.mkd +9 -5
  50. data/distro/common/markdown/man1/knife-cookbook-site.mkd +5 -1
  51. data/distro/common/markdown/man1/knife-cookbook.mkd +7 -4
  52. data/distro/common/markdown/man1/knife-node.mkd +1 -19
  53. data/distro/common/markdown/man1/knife-search.mkd +5 -4
  54. data/distro/common/markdown/man1/knife-ssh.mkd +8 -0
  55. data/distro/common/markdown/man1/knife.mkd +39 -8
  56. data/distro/common/markdown/man8/chef-client.mkd +10 -0
  57. data/distro/common/markdown/man8/chef-solr.mkd +5 -1
  58. data/distro/debian/etc/init.d/chef-client +48 -38
  59. data/distro/redhat/etc/init.d/chef-client +6 -2
  60. data/lib/chef/checksum.rb +9 -24
  61. data/lib/chef/checksum/storage.rb +18 -0
  62. data/lib/chef/checksum/storage/filesystem.rb +56 -0
  63. data/lib/chef/config.rb +6 -2
  64. data/lib/chef/cookbook/syntax_check.rb +1 -1
  65. data/lib/chef/cookbook_version.rb +37 -9
  66. data/lib/chef/file_access_control.rb +1 -1
  67. data/lib/chef/handler.rb +21 -0
  68. data/lib/chef/knife/bootstrap.rb +3 -1
  69. data/lib/chef/knife/bootstrap/archlinux-gems.erb +10 -0
  70. data/lib/chef/knife/bootstrap/centos5-gems.erb +13 -2
  71. data/lib/chef/knife/bootstrap/fedora13-gems.erb +10 -0
  72. data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +10 -0
  73. data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +10 -0
  74. data/lib/chef/knife/client_create.rb +13 -7
  75. data/lib/chef/knife/client_delete.rb +0 -2
  76. data/lib/chef/knife/client_edit.rb +0 -3
  77. data/lib/chef/knife/client_list.rb +0 -1
  78. data/lib/chef/knife/client_reregister.rb +2 -3
  79. data/lib/chef/knife/client_show.rb +0 -1
  80. data/lib/chef/knife/configure.rb +1 -1
  81. data/lib/chef/knife/configure_client.rb +0 -2
  82. data/lib/chef/knife/cookbook_create.rb +12 -12
  83. data/lib/chef/knife/cookbook_delete.rb +2 -0
  84. data/lib/chef/knife/cookbook_download.rb +9 -6
  85. data/lib/chef/knife/cookbook_list.rb +1 -6
  86. data/lib/chef/knife/cookbook_metadata.rb +8 -8
  87. data/lib/chef/knife/cookbook_site_list.rb +4 -2
  88. data/lib/chef/knife/cookbook_test.rb +1 -1
  89. data/lib/chef/knife/core/bootstrap_context.rb +9 -0
  90. data/lib/chef/knife/core/generic_presenter.rb +8 -1
  91. data/lib/chef/knife/core/node_presenter.rb +30 -0
  92. data/lib/chef/knife/core/ui.rb +8 -3
  93. data/lib/chef/knife/data_bag_create.rb +2 -5
  94. data/lib/chef/knife/data_bag_from_file.rb +2 -6
  95. data/lib/chef/knife/node_show.rb +8 -3
  96. data/lib/chef/knife/role_create.rb +2 -2
  97. data/lib/chef/knife/role_from_file.rb +12 -5
  98. data/lib/chef/knife/search.rb +1 -1
  99. data/lib/chef/knife/ssh.rb +20 -3
  100. data/lib/chef/mixin/command/windows.rb +1 -1
  101. data/lib/chef/platform.rb +24 -0
  102. data/lib/chef/provider/deploy.rb +93 -17
  103. data/lib/chef/provider/file.rb +5 -1
  104. data/lib/chef/provider/group/groupadd.rb +11 -1
  105. data/lib/chef/provider/ifconfig.rb +66 -5
  106. data/lib/chef/provider/package.rb +41 -5
  107. data/lib/chef/provider/package/apt.rb +10 -0
  108. data/lib/chef/provider/package/yum.rb +59 -14
  109. data/lib/chef/provider/remote_directory.rb +0 -1
  110. data/lib/chef/provider/service/debian.rb +2 -2
  111. data/lib/chef/provider/service/invokercd.rb +35 -0
  112. data/lib/chef/provider/service/windows.rb +92 -83
  113. data/lib/chef/resource.rb +4 -1
  114. data/lib/chef/resource/deploy.rb +9 -0
  115. data/lib/chef/resource/group.rb +8 -0
  116. data/lib/chef/resource/ifconfig.rb +12 -2
  117. data/lib/chef/resource/package.rb +1 -1
  118. data/lib/chef/resource/service.rb +1 -10
  119. data/lib/chef/shef/shef_session.rb +2 -1
  120. data/lib/chef/shell_out.rb +0 -1
  121. data/lib/chef/shell_out/windows.rb +508 -52
  122. data/lib/chef/solr_query/solr_http_request.rb +19 -5
  123. data/lib/chef/tasks/chef_repo.rake +9 -5
  124. data/lib/chef/version.rb +1 -1
  125. metadata +414 -453
@@ -1,10 +1,10 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-BOOTRAP" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-BOOTSTRAP" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
- \fBknife\-bootrap\fR \- Install Chef Client on a remote host
7
+ \fBknife\-bootstrap\fR \- Install Chef Client on a remote host
8
8
  .
9
9
  .SH "SYNOPSIS"
10
10
  \fBknife\fR \fBbootstrap\fR \fI(options)\fR
@@ -26,20 +26,24 @@ The ssh password
26
26
  The ssh username
27
27
  .
28
28
  .TP
29
- \fB\-\-prerelease\fR
30
- Install pre\-release Chef gems
29
+ \fB\-p\fR, \fB\-\-ssh\-port PORT\fR
30
+ The ssh port
31
31
  .
32
32
  .TP
33
- \fB\-r\fR, \fB\-\-run\-list RUN_LIST\fR
34
- Comma separated list of roles/recipes to apply
33
+ \fB\-\-bootstrap\-version VERSION\fR
34
+ The version of Chef to install
35
35
  .
36
36
  .TP
37
- \fB\-P\fR, \fB\-\-ssh\-password PASSWORD\fR
38
- The ssh password
37
+ \fB\-\-bootstrap\-proxy PROXY_URL\fR
38
+ \fBThe proxy server for the node being bootstrapped\fR
39
39
  .
40
40
  .TP
41
- \fB\-x\fR, \fB\-\-ssh\-user USERNAME\fR
42
- The ssh username
41
+ \fB\-\-prerelease\fR
42
+ Install pre\-release Chef gems
43
+ .
44
+ .TP
45
+ \fB\-r\fR, \fB\-\-run\-list RUN_LIST\fR
46
+ Comma separated list of roles/recipes to apply
43
47
  .
44
48
  .TP
45
49
  \fB\-\-template\-file TEMPLATE\fR
@@ -53,6 +57,10 @@ Execute the bootstrap via sudo
53
57
  \fB\-d\fR, \fB\-\-distro DISTRO\fR
54
58
  Bootstrap a distro using a template
55
59
  .
60
+ .TP
61
+ \fB\-\-no\-host\-key\-verify\fR
62
+ Disable host key verification
63
+ .
56
64
  .SH "DESCRIPTION"
57
65
  Performs a Chef Bootstrap on the target node\. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server\. The main assumption is a baseline OS installation exists\. This sub\-command is used internally by some cloud computing plugins\.
58
66
  .
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-CLIENT" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-client\fR \- Manage Chef API Clients
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-CONFIGURE" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-configure\fR \- Generate configuration files for knife or Chef Client
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK\-SITE" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\-site\fR \- Install and update open source cookbooks
@@ -19,6 +19,14 @@
19
19
  \fB\-D\fR, \fB\-\-no\-dependencies\fR
20
20
  Do not install dependencies automatically
21
21
  .
22
+ .TP
23
+ \fB\-o\fR, \fB\-\-cookbook\-path PATH\fR
24
+ Install cookbooks to PATH
25
+ .
26
+ .TP
27
+ \fB\-B\fR, \fB\-\-branch BRANCH\fR
28
+ Default branch to work with [defaults to master]
29
+ .
22
30
  .P
23
31
  Uses git(1) version control in conjunction with the cookbook site to install community contributed cookbooks to your local cookbook repository\. Running \fBknife cookbook site install\fR does the following:
24
32
  .
@@ -40,7 +48,7 @@ The pristine copy branch is merged into the master branch\.
40
48
  .IP "" 0
41
49
  .
42
50
  .P
43
- By installing cookbook with this process, you can locally modify the upstream cookbook in your master branch ant let git maintain your changes as a separate patch\. When an updated upstream version becomes available, you will be able to merge the upstream changes while maintaining your local modifications\.
51
+ By installing cookbook with this process, you can locally modify the upstream cookbook in your master branch and let git maintain your changes as a separate patch\. When an updated upstream version becomes available, you will be able to merge the upstream changes while maintaining your local modifications\.
44
52
  .
45
53
  .P
46
54
  Unless \fI\-D\fR is specified, the process is applied recursively to all the cookbooks \fICOOKBOOK\fR depends on (via metadata \fIdependencies\fR)\.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-COOKBOOK" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-cookbook\fR \- upload and manage chef cookbooks
@@ -41,6 +41,10 @@ the platform to see the file for
41
41
  \fB\-v\fR, \fB\-\-platform\-version version\fR
42
42
  the platform version to see the file for
43
43
  .
44
+ .TP
45
+ \fB\-w\fR, \fB\-\-with\-uri\fR
46
+ Show corresponding URIs
47
+ .
44
48
  .P
45
49
  show a particular part of a \fIcookbook\fR for the specified \fIversion\fR\. \fIpart\fR can be one of:
46
50
  .
@@ -167,7 +171,7 @@ the directory where the cookbook will be created
167
171
  .
168
172
  .TP
169
173
  \fB\-r\fR, \fB\-\-readme\-format format\fR
170
- format of the readme file
174
+ format of the readme file md, mkd, txt, rdoc
171
175
  .
172
176
  .TP
173
177
  \fB\-c\fR, \fB\-\-copyright copyright\fR
@@ -203,7 +207,7 @@ cookbook/metadata\.rb
203
207
  cookbook/providers
204
208
  .
205
209
  .IP "\(bu" 4
206
- cookbook/readme\.rdoc
210
+ cookbook/readme\.md
207
211
  .
208
212
  .IP "\(bu" 4
209
213
  cookbook/recipes/default\.rb
@@ -217,7 +221,7 @@ cookbook/templates/default
217
221
  .IP "" 0
218
222
  .
219
223
  .P
220
- supported readme formats are \'rdoc\' (default), \'md\', \'mkd\', \'txt\'\. the readme file will be written with the specified extension and a set of helpful starting headers\.
224
+ supported readme formats are \'md\' (default), \'mkd\', \'txt\', \'rdoc\'\. the readme file will be written with the specified extension and a set of helpful starting headers\.
221
225
  .
222
226
  .P
223
227
  specify \fB\-c\fR or \fB\-\-copyright\fR with the name of the copyright holder as your name or your company/organization name in a quoted string\. if this value is not specified an all\-caps string \fByour_company_name\fR is used which can be easily changed with find/replace\.
@@ -229,7 +233,7 @@ specify \fB\-i\fR or \fB\-\-license\fR with the license that the cookbook is dis
229
233
  specify \fB\-e\fR or \fB\-\-email\fR with the email address of the cookbook\'s maintainer\. if this value is not specified, an all\-caps string \fByour_email\fR is used which can easily be changed with find/replace\.
230
234
  .
231
235
  .P
232
- the cookbook copyright, license and email settings can be filled in the \fBknife\.rb\fR, for example with default values:
236
+ the cookbook copyright, license, email and readme_format settings can be filled in the \fBknife\.rb\fR, for example with default values:
233
237
  .
234
238
  .IP "" 4
235
239
  .
@@ -238,6 +242,7 @@ the cookbook copyright, license and email settings can be filled in the \fBknife
238
242
  cookbook_copyright "your_company_name"
239
243
  cookbook_license "none"
240
244
  cookbook_email "your_email"
245
+ readme_format "md"
241
246
  .
242
247
  .fi
243
248
  .
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-DATA\-BAG" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-data\-bag\fR \- Store arbitrary data on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ENVIRONMENT" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-environment\fR \- Define cookbook policies for the environments in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-EXEC" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-exec\fR \- Run user scripts using the Chef API DSL
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-INDEX" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-index\fR \- Rebuild the search index on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-NODE" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-node\fR \- Manage the hosts in your infrastructure
@@ -101,27 +101,7 @@ Display the node in a different format\.
101
101
  Display more, but not all, of the node\'s data when using the default \fIsummary\fR format
102
102
  .
103
103
  .P
104
- Displays the node identified by \fInode name\fR on stdout\. The amount of content displayed and the output format are modified by the \-\-format option\. If no alternate format is selected, the default is summary\. Valid formats are:
105
- .
106
- .IP "\(bu" 4
107
- summary: displays the node in a custom, summarized format (default)
108
- .
109
- .IP "\(bu" 4
110
- text displays the node data in its entirety using the colorized tree display
111
- .
112
- .IP "\(bu" 4
113
- json: displays the node in JSON format
114
- .
115
- .IP "\(bu" 4
116
- yaml: displays the node in YAML format
117
- .
118
- .IP "\(bu" 4
119
- pp displays the node using Ruby\'s pretty printer\.
120
- .
121
- .IP "" 0
122
- .
123
- .P
124
- For brevity, only the first character of the format is required, for example, \-Fj will produce JSON format output\.
104
+ Displays the node identified by \fInode name\fR on stdout\.
125
105
  .
126
106
  .SH "RUN LIST ITEM FORMAT"
127
107
  Run list items may be either roles or recipes\. When adding a role to a run list, the correct syntax is "role[ROLE_NAME]"
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-ROLE" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-role\fR \- Group common configuration settings
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SEARCH" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-search\fR \- Find objects on a Chef Server by query
@@ -61,6 +61,9 @@ Search indexes are a feature of the Chef Server and the search sub\-command allo
61
61
  \fIenvironment\fR
62
62
  .
63
63
  .IP "\(bu" 4
64
+ \fIclients\fR
65
+ .
66
+ .IP "\(bu" 4
64
67
  \fIdata bag\fR
65
68
  .
66
69
  .IP "" 0
@@ -138,7 +141,7 @@ Fuzzy searches allows one to match values based on the Levenshtein Distance algo
138
141
  .
139
142
  .nf
140
143
 
141
- knife search nodes \'field:term~\'
144
+ knife search INDEX \'field:term~\'
142
145
  .
143
146
  .fi
144
147
  .
@@ -222,7 +225,7 @@ Find the nodes with the fully\-qualified domain name (FQDN) www\.example\.com:
222
225
  .
223
226
  .nf
224
227
 
225
- knife search nodes \'fqdn:www\.example\.com\'
228
+ knife search node \'fqdn:www\.example\.com\'
226
229
  .
227
230
  .fi
228
231
  .
@@ -235,7 +238,7 @@ Find the nodes running a version of Ubuntu:
235
238
  .
236
239
  .nf
237
240
 
238
- knife search nodes \'platform:ubuntu*\'
241
+ knife search node \'platform:ubuntu*\'
239
242
  .
240
243
  .fi
241
244
  .
@@ -248,7 +251,7 @@ Find all nodes running CentOS in the production environment:
248
251
  .
249
252
  .nf
250
253
 
251
- knife search nodes \'chef_environment:production AND platform:centos\'
254
+ knife search node \'chef_environment:production AND platform:centos\'
252
255
  .
253
256
  .fi
254
257
  .
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-SSH" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-ssh\fR \- Run a command or interactive session on multiple remote hosts
@@ -33,6 +33,18 @@ The ssh username
33
33
  \fB\-i\fR, \fB\-\-identity\-file IDENTITY_FILE\fR
34
34
  The SSH identity file used for authentication
35
35
  .
36
+ .TP
37
+ \fB\-p\fR, \fB\-\-ssh\-port PORT\fR
38
+ The ssh port
39
+ .
40
+ .TP
41
+ \fB\-i\fR, \fB\-\-identity\-file IDENTITY_FILE\fR
42
+ The SSH identity file used for authentication
43
+ .
44
+ .TP
45
+ \fB\-\-no\-host\-key\-verify\fR
46
+ Disable host key verification
47
+ .
36
48
  .SH "DESCRIPTION"
37
49
  The \fIssh\fR sub\-command opens an ssh session to each of the nodes in the search results of the \fIQUERY\fR\. This sub\-command requires that the net\-ssh\-multi and highline Ruby libraries are installed\. On Debian systems, these are the libnet\-ssh\-multi\-ruby and libhighline\-ruby packages\. They can also be installed as RubyGems (net\-ssh\-multi and highline, respectively)\.
38
50
  .
@@ -40,18 +52,11 @@ The \fIssh\fR sub\-command opens an ssh session to each of the nodes in the sear
40
52
  \fBknife ssh\fR integrates with several terminal multiplexer programs to provide a more convenient means of managing multiple ssh sessions\. When the \fICOMMAND\fR option matches one of these, \fBknife ssh\fR will create multiple interactive ssh sessions running locally in the terminal multiplexer instead of invoking the command on the remote host\.
41
53
  .
42
54
  .P
43
- The available multiplexers are: * \fBinteractive\fR:
44
- .
45
- .IP "" 4
55
+ The available multiplexers are:
46
56
  .
47
- .nf
48
-
49
- A built\-in multiplexer\. `interactive` supports running commands on a
50
- subset of the connected hosts in parallel
51
- .
52
- .fi
53
- .
54
- .IP "" 0
57
+ .TP
58
+ \fBinteractive\fR
59
+ A built\-in multiplexer\. \fBinteractive\fR supports running commands on a subset of the connected hosts in parallel
55
60
  .
56
61
  .TP
57
62
  \fBscreen\fR(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-STATUS" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-status\fR \- Display status information for the nodes in your infrastructure
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE\-TAG" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\-tag\fR \- Apply tags to nodes on a Chef Server
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "KNIFE" "1" "August 2011" "Chef 0.10.4" "Chef Manual"
4
+ .TH "KNIFE" "1" "October 2011" "Chef 0.10.6.beta.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBknife\fR \- Chef Server API client utility
@@ -80,20 +80,20 @@ API Client Key, corresponds to \fBChef::Config\fR \fBclient_key\fR\.
80
80
  The configuration file to use
81
81
  .
82
82
  .TP
83
+ \fB\-E\fR, \fB\-\-environment ENVIRONMENT\fR
84
+ Set the Chef environment
85
+ .
86
+ .TP
83
87
  \fB\-e\fR, \fB\-\-editor\fR EDITOR
84
88
  Set the editor to use for interactive commands
85
89
  .
86
90
  .TP
87
91
  \fB\-F\fR, \fB\-\-format\fR FORMAT
88
- Which format to use for output
89
- .
90
- .TP
91
- \fB\-l\fR, \fB\-\-log_level\fR LEVEL
92
- Set the log level (debug, info, warn, error, fatal), corresponds to \fBChef::Config\fR \fBlog_level\fR\.
92
+ Which format to use for output\. See FORMATS for details\.
93
93
  .
94
94
  .TP
95
- \fB\-L\fR, \fB\-\-logfile\fR LOGLOCATION
96
- Set the log file location, defaults to STDOUT, corresponds to \fBChef::Config\fR \fBlog_location\fR\.
95
+ \fB\-V\fR, \fB\-\-verbose\fR
96
+ More verbose output\. Use twice for max verbosity
97
97
  .
98
98
  .TP
99
99
  \fB\-n\fR, \fB\-\-no\-editor\fR
@@ -116,6 +116,18 @@ Show chef version
116
116
  Say yes to all prompts for confirmation
117
117
  .
118
118
  .TP
119
+ \fB\-\-defaults\fR
120
+ Accept default values for all questions
121
+ .
122
+ .TP
123
+ \fB\-\-color\fR
124
+ Use colored output
125
+ .
126
+ .TP
127
+ \fB\-\-no\-color\fR
128
+ Don\'t use colors in the output
129
+ .
130
+ .TP
119
131
  \fB\-h\fR, \fB\-\-help\fR
120
132
  Show the available options for a command\.
121
133
  .
@@ -167,7 +179,7 @@ If the config file exists, knife uses these settings for \fBGENERAL OPTIONS\fR d
167
179
  \fBvalidation_key\fR: Specifies the private key file to use when bootstrapping new hosts\. See knife\-client(1) for more information about the validation client\.
168
180
  .
169
181
  .IP "\(bu" 4
170
- \fBcookbook_copyright\fR, \fBcookbook_email\fR, \fBcookbook_license\fR Used by \fBknife cookbook create\fR sub\-command to specify the copyright holder, maintainer email and license (respectively) for new cookbooks\. The copyright holder is listed as the maintainer in the cookbook\'s metadata and as the Copyright in the comments of the default recipe\. The maintainer email is used in the cookbook metadata\. The license determines what preamble to put in the comment of the default recipe, and is listed as the license in the cookbook metadata\. Currently supported licenses are "apachev2" and "none"\. Any other values will result in an empty license in the metadata (needs to be filled in by the author), and no comment preamble in the default recipe\.
182
+ \fBcookbook_copyright\fR, \fBcookbook_email\fR, \fBcookbook_license\fR, \fBreadme_format\fR Used by \fBknife cookbook create\fR sub\-command to specify the copyright holder, maintainer email, license and readme format (respectively) for new cookbooks\. The copyright holder is listed as the maintainer in the cookbook\'s metadata and as the Copyright in the comments of the default recipe\. The maintainer email is used in the cookbook metadata\. The license determines what preamble to put in the comment of the default recipe, and is listed as the license in the cookbook metadata\. Currently supported licenses are "apachev2" and "none"\. Any other values will result in an empty license in the metadata (needs to be filled in by the author), and no comment preamble in the default recipe\. Currently supported readme formats are "md", "mkd", "txt", and "rdoc"\. Any other value will result in an unformatted README\.
171
183
  .
172
184
  .IP "" 0
173
185
  .
@@ -177,6 +189,35 @@ If the config file exists, knife uses these settings for \fBGENERAL OPTIONS\fR d
177
189
  .P
178
190
  Ruby DSL configuration file for knife\. See \fBCONFIGURATION\fR\.
179
191
  .
192
+ .SH "FORMATS"
193
+ The amount of content displayed and the output format are modified by the \fB\-\-format\fR option\. If no alternate format is selected, the default is summary\.
194
+ .
195
+ .P
196
+ Valid formats are:
197
+ .
198
+ .TP
199
+ \fBsummary\fR
200
+ displays the node in a custom, summarized format (default)
201
+ .
202
+ .TP
203
+ \fBtext\fR
204
+ displays the node data in its entirety using the colorized tree display
205
+ .
206
+ .TP
207
+ \fBjson\fR
208
+ displays the node in JSON format
209
+ .
210
+ .TP
211
+ \fByaml\fR
212
+ displays the node in YAML format
213
+ .
214
+ .TP
215
+ \fBpp\fR
216
+ displays the node using Ruby\'s pretty printer\.
217
+ .
218
+ .P
219
+ For brevity, only the first character of the format is required, for example, \-Fj will produce JSON format output\.
220
+ .
180
221
  .SH "CHEF WORKFLOW"
181
222
  When working with Chef and Knife in the local repository, the recommended workflow outline looks like:
182
223
  .