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.
- data/distro/common/html/chef-client.8.html +9 -4
- data/distro/common/html/chef-expander.8.html +4 -4
- data/distro/common/html/chef-expanderctl.8.html +4 -4
- data/distro/common/html/chef-server-webui.8.html +4 -4
- data/distro/common/html/chef-server.8.html +4 -4
- data/distro/common/html/chef-solo.8.html +4 -4
- data/distro/common/html/chef-solr.8.html +6 -4
- data/distro/common/html/knife-bootstrap.1.html +13 -11
- data/distro/common/html/knife-client.1.html +4 -4
- data/distro/common/html/knife-configure.1.html +4 -4
- data/distro/common/html/knife-cookbook-site.1.html +7 -5
- data/distro/common/html/knife-cookbook.1.html +10 -8
- data/distro/common/html/knife-data-bag.1.html +4 -4
- data/distro/common/html/knife-environment.1.html +4 -4
- data/distro/common/html/knife-exec.1.html +4 -4
- data/distro/common/html/knife-index.1.html +4 -4
- data/distro/common/html/knife-node.1.html +5 -26
- data/distro/common/html/knife-role.1.html +4 -4
- data/distro/common/html/knife-search.1.html +9 -8
- data/distro/common/html/knife-ssh.1.html +10 -10
- data/distro/common/html/knife-status.1.html +4 -4
- data/distro/common/html/knife-tag.1.html +4 -4
- data/distro/common/html/knife.1.html +36 -10
- data/distro/common/html/shef.1.html +4 -4
- data/distro/common/man/man1/knife-bootstrap.1 +18 -10
- 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 +10 -2
- data/distro/common/man/man1/knife-cookbook.1 +10 -5
- 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 +2 -22
- data/distro/common/man/man1/knife-role.1 +1 -1
- data/distro/common/man/man1/knife-search.1 +8 -5
- data/distro/common/man/man1/knife-ssh.1 +17 -12
- 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 +50 -9
- data/distro/common/man/man1/shef.1 +1 -1
- data/distro/common/man/man8/chef-client.8 +21 -1
- data/distro/common/man/man8/chef-expander.8 +1 -1
- data/distro/common/man/man8/chef-expanderctl.8 +1 -1
- data/distro/common/man/man8/chef-server-webui.8 +1 -1
- data/distro/common/man/man8/chef-server.8 +1 -1
- data/distro/common/man/man8/chef-solo.8 +1 -1
- data/distro/common/man/man8/chef-solr.8 +9 -1
- data/distro/common/markdown/man1/knife-bootstrap.mkd +9 -5
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +5 -1
- data/distro/common/markdown/man1/knife-cookbook.mkd +7 -4
- data/distro/common/markdown/man1/knife-node.mkd +1 -19
- data/distro/common/markdown/man1/knife-search.mkd +5 -4
- data/distro/common/markdown/man1/knife-ssh.mkd +8 -0
- data/distro/common/markdown/man1/knife.mkd +39 -8
- data/distro/common/markdown/man8/chef-client.mkd +10 -0
- data/distro/common/markdown/man8/chef-solr.mkd +5 -1
- data/distro/debian/etc/init.d/chef-client +48 -38
- data/distro/redhat/etc/init.d/chef-client +6 -2
- data/lib/chef/checksum.rb +9 -24
- data/lib/chef/checksum/storage.rb +18 -0
- data/lib/chef/checksum/storage/filesystem.rb +56 -0
- data/lib/chef/config.rb +6 -2
- data/lib/chef/cookbook/syntax_check.rb +1 -1
- data/lib/chef/cookbook_version.rb +37 -9
- data/lib/chef/file_access_control.rb +1 -1
- data/lib/chef/handler.rb +21 -0
- data/lib/chef/knife/bootstrap.rb +3 -1
- data/lib/chef/knife/bootstrap/archlinux-gems.erb +10 -0
- data/lib/chef/knife/bootstrap/centos5-gems.erb +13 -2
- data/lib/chef/knife/bootstrap/fedora13-gems.erb +10 -0
- data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +10 -0
- data/lib/chef/knife/bootstrap/ubuntu10.04-gems.erb +10 -0
- data/lib/chef/knife/client_create.rb +13 -7
- data/lib/chef/knife/client_delete.rb +0 -2
- data/lib/chef/knife/client_edit.rb +0 -3
- data/lib/chef/knife/client_list.rb +0 -1
- data/lib/chef/knife/client_reregister.rb +2 -3
- data/lib/chef/knife/client_show.rb +0 -1
- data/lib/chef/knife/configure.rb +1 -1
- data/lib/chef/knife/configure_client.rb +0 -2
- data/lib/chef/knife/cookbook_create.rb +12 -12
- data/lib/chef/knife/cookbook_delete.rb +2 -0
- data/lib/chef/knife/cookbook_download.rb +9 -6
- data/lib/chef/knife/cookbook_list.rb +1 -6
- data/lib/chef/knife/cookbook_metadata.rb +8 -8
- data/lib/chef/knife/cookbook_site_list.rb +4 -2
- data/lib/chef/knife/cookbook_test.rb +1 -1
- data/lib/chef/knife/core/bootstrap_context.rb +9 -0
- data/lib/chef/knife/core/generic_presenter.rb +8 -1
- data/lib/chef/knife/core/node_presenter.rb +30 -0
- data/lib/chef/knife/core/ui.rb +8 -3
- data/lib/chef/knife/data_bag_create.rb +2 -5
- data/lib/chef/knife/data_bag_from_file.rb +2 -6
- data/lib/chef/knife/node_show.rb +8 -3
- data/lib/chef/knife/role_create.rb +2 -2
- data/lib/chef/knife/role_from_file.rb +12 -5
- data/lib/chef/knife/search.rb +1 -1
- data/lib/chef/knife/ssh.rb +20 -3
- data/lib/chef/mixin/command/windows.rb +1 -1
- data/lib/chef/platform.rb +24 -0
- data/lib/chef/provider/deploy.rb +93 -17
- data/lib/chef/provider/file.rb +5 -1
- data/lib/chef/provider/group/groupadd.rb +11 -1
- data/lib/chef/provider/ifconfig.rb +66 -5
- data/lib/chef/provider/package.rb +41 -5
- data/lib/chef/provider/package/apt.rb +10 -0
- data/lib/chef/provider/package/yum.rb +59 -14
- data/lib/chef/provider/remote_directory.rb +0 -1
- data/lib/chef/provider/service/debian.rb +2 -2
- data/lib/chef/provider/service/invokercd.rb +35 -0
- data/lib/chef/provider/service/windows.rb +92 -83
- data/lib/chef/resource.rb +4 -1
- data/lib/chef/resource/deploy.rb +9 -0
- data/lib/chef/resource/group.rb +8 -0
- data/lib/chef/resource/ifconfig.rb +12 -2
- data/lib/chef/resource/package.rb +1 -1
- data/lib/chef/resource/service.rb +1 -10
- data/lib/chef/shef/shef_session.rb +2 -1
- data/lib/chef/shell_out.rb +0 -1
- data/lib/chef/shell_out/windows.rb +508 -52
- data/lib/chef/solr_query/solr_http_request.rb +19 -5
- data/lib/chef/tasks/chef_repo.rake +9 -5
- data/lib/chef/version.rb +1 -1
- metadata +414 -453
@@ -244,11 +244,11 @@ override_attributes "aws_s3_bucket" => "production"
|
|
244
244
|
|
245
245
|
<h2 id="AUTHOR">AUTHOR</h2>
|
246
246
|
|
247
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
247
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
248
248
|
|
249
249
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
250
250
|
|
251
|
-
<p> This manual page was written by Daniel DeLeo <a href="&#
|
251
|
+
<p> This manual page was written by Daniel DeLeo <a href="mailto:dan@opscode.com" data-bare-link="true">dan@opscode.com</a>.
|
252
252
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
253
253
|
|
254
254
|
<h2 id="CHEF">CHEF</h2>
|
@@ -257,8 +257,8 @@ override_attributes "aws_s3_bucket" => "production"
|
|
257
257
|
|
258
258
|
|
259
259
|
<ol class='man-decor man-foot man foot'>
|
260
|
-
<li class='tl'>Chef 0.10.
|
261
|
-
<li class='tc'>
|
260
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
261
|
+
<li class='tc'>October 2011</li>
|
262
262
|
<li class='tr'>knife-environment(1)</li>
|
263
263
|
</ol>
|
264
264
|
|
@@ -111,11 +111,11 @@ commands available.</p>
|
|
111
111
|
|
112
112
|
<h2 id="AUTHOR">AUTHOR</h2>
|
113
113
|
|
114
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
114
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
115
115
|
|
116
116
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
117
117
|
|
118
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
118
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
119
119
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
120
120
|
|
121
121
|
<h2 id="CHEF">CHEF</h2>
|
@@ -124,8 +124,8 @@ commands available.</p>
|
|
124
124
|
|
125
125
|
|
126
126
|
<ol class='man-decor man-foot man foot'>
|
127
|
-
<li class='tl'>Chef 0.10.
|
128
|
-
<li class='tc'>
|
127
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
128
|
+
<li class='tc'>October 2011</li>
|
129
129
|
<li class='tr'>knife-exec(1)</li>
|
130
130
|
</ol>
|
131
131
|
|
@@ -102,11 +102,11 @@ time for all objects to be indexed and available for search.</p>
|
|
102
102
|
|
103
103
|
<h2 id="AUTHOR">AUTHOR</h2>
|
104
104
|
|
105
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
105
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
106
106
|
|
107
107
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
108
108
|
|
109
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
109
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
110
110
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
111
111
|
|
112
112
|
<h2 id="CHEF">CHEF</h2>
|
@@ -115,8 +115,8 @@ time for all objects to be indexed and available for search.</p>
|
|
115
115
|
|
116
116
|
|
117
117
|
<ol class='man-decor man-foot man foot'>
|
118
|
-
<li class='tl'>Chef 0.10.
|
119
|
-
<li class='tc'>
|
118
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
119
|
+
<li class='tc'>October 2011</li>
|
120
120
|
<li class='tr'>knife-index(1)</li>
|
121
121
|
</ol>
|
122
122
|
|
@@ -205,28 +205,7 @@ will be displayed in your text editor unless the -n option is present.</p>
|
|
205
205
|
</dl>
|
206
206
|
|
207
207
|
|
208
|
-
<p>Displays the node identified by <em>node name</em> on stdout
|
209
|
-
content displayed and the output format are modified by the --format
|
210
|
-
option. If no alternate format is selected, the default is summary.
|
211
|
-
Valid formats are:</p>
|
212
|
-
|
213
|
-
<ul>
|
214
|
-
<li>summary:
|
215
|
-
displays the node in a custom, summarized format (default)</li>
|
216
|
-
<li>text
|
217
|
-
displays the node data in its entirety using the colorized tree
|
218
|
-
display</li>
|
219
|
-
<li>json:
|
220
|
-
displays the node in JSON format</li>
|
221
|
-
<li>yaml:
|
222
|
-
displays the node in YAML format</li>
|
223
|
-
<li>pp
|
224
|
-
displays the node using Ruby's pretty printer.</li>
|
225
|
-
</ul>
|
226
|
-
|
227
|
-
|
228
|
-
<p>For brevity, only the first character of the format is required, for
|
229
|
-
example, -Fj will produce JSON format output.</p>
|
208
|
+
<p>Displays the node identified by <em>node name</em> on stdout.</p>
|
230
209
|
|
231
210
|
<h2 id="RUN-LIST-ITEM-FORMAT">RUN LIST ITEM FORMAT</h2>
|
232
211
|
|
@@ -248,11 +227,11 @@ run list, the correct syntax is "role[ROLE_NAME]"</p>
|
|
248
227
|
|
249
228
|
<h2 id="AUTHOR">AUTHOR</h2>
|
250
229
|
|
251
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
230
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
252
231
|
|
253
232
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
254
233
|
|
255
|
-
<p> This manual page was written by Joshua Timberman <a href="m&#
|
234
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
256
235
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
257
236
|
|
258
237
|
<h2 id="CHEF">CHEF</h2>
|
@@ -261,8 +240,8 @@ run list, the correct syntax is "role[ROLE_NAME]"</p>
|
|
261
240
|
|
262
241
|
|
263
242
|
<ol class='man-decor man-foot man foot'>
|
264
|
-
<li class='tl'>Chef 0.10.
|
265
|
-
<li class='tc'>
|
243
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
244
|
+
<li class='tc'>October 2011</li>
|
266
245
|
<li class='tr'>knife-node(1)</li>
|
267
246
|
</ol>
|
268
247
|
|
@@ -177,11 +177,11 @@ run_list.</p>
|
|
177
177
|
|
178
178
|
<h2 id="AUTHOR">AUTHOR</h2>
|
179
179
|
|
180
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
180
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
181
181
|
|
182
182
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
183
183
|
|
184
|
-
<p> This manual page was written by Joshua Timberman <a href="m&#
|
184
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
185
185
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
186
186
|
|
187
187
|
<h2 id="CHEF">CHEF</h2>
|
@@ -190,8 +190,8 @@ run_list.</p>
|
|
190
190
|
|
191
191
|
|
192
192
|
<ol class='man-decor man-foot man foot'>
|
193
|
-
<li class='tl'>Chef 0.10.
|
194
|
-
<li class='tc'>
|
193
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
194
|
+
<li class='tc'>October 2011</li>
|
195
195
|
<li class='tr'>knife-role(1)</li>
|
196
196
|
</ol>
|
197
197
|
|
@@ -120,6 +120,7 @@ query syntax. The following data types are indexed for search:</p>
|
|
120
120
|
<li><em>node</em></li>
|
121
121
|
<li><em>role</em></li>
|
122
122
|
<li><em>environment</em></li>
|
123
|
+
<li><em>clients</em></li>
|
123
124
|
<li><em>data bag</em></li>
|
124
125
|
</ul>
|
125
126
|
|
@@ -191,7 +192,7 @@ match values between X and Y, inclusively, use square brackets:</p>
|
|
191
192
|
Distance algorithm. To perform a fuzzy match, append a tilda (~) to
|
192
193
|
the search term:</p>
|
193
194
|
|
194
|
-
<pre><code>knife search
|
195
|
+
<pre><code>knife search INDEX 'field:term~'
|
195
196
|
</code></pre>
|
196
197
|
|
197
198
|
<p>This search would return nodes whose <code>field</code> was 'perm' or 'germ'.</p>
|
@@ -235,17 +236,17 @@ enclose them in single quotes.</p>
|
|
235
236
|
<p>Find the nodes with the fully-qualified domain name (FQDN)
|
236
237
|
www.example.com:</p>
|
237
238
|
|
238
|
-
<pre><code>knife search
|
239
|
+
<pre><code>knife search node 'fqdn:www.example.com'
|
239
240
|
</code></pre>
|
240
241
|
|
241
242
|
<p>Find the nodes running a version of Ubuntu:</p>
|
242
243
|
|
243
|
-
<pre><code>knife search
|
244
|
+
<pre><code>knife search node 'platform:ubuntu*'
|
244
245
|
</code></pre>
|
245
246
|
|
246
247
|
<p>Find all nodes running CentOS in the production environment:</p>
|
247
248
|
|
248
|
-
<pre><code>knife search
|
249
|
+
<pre><code>knife search node 'chef_environment:production AND platform:centos'
|
249
250
|
</code></pre>
|
250
251
|
|
251
252
|
<h2 id="KNOWN-BUGS">KNOWN BUGS</h2>
|
@@ -264,11 +265,11 @@ www.example.com:</p>
|
|
264
265
|
|
265
266
|
<h2 id="AUTHOR">AUTHOR</h2>
|
266
267
|
|
267
|
-
<p> Chef was written by Adam Jacob <a href="ma&#
|
268
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
268
269
|
|
269
270
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
270
271
|
|
271
|
-
<p> This manual page was written by Joshua Timberman <a href="ma&#
|
272
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
272
273
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
273
274
|
|
274
275
|
<h2 id="CHEF">CHEF</h2>
|
@@ -277,8 +278,8 @@ www.example.com:</p>
|
|
277
278
|
|
278
279
|
|
279
280
|
<ol class='man-decor man-foot man foot'>
|
280
|
-
<li class='tl'>Chef 0.10.
|
281
|
-
<li class='tc'>
|
281
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
282
|
+
<li class='tc'>October 2011</li>
|
282
283
|
<li class='tr'>knife-search(1)</li>
|
283
284
|
</ol>
|
284
285
|
|
@@ -91,6 +91,9 @@
|
|
91
91
|
<dt><code>-P</code>, <code>--ssh-password PASSWORD</code></dt><dd>The ssh password</dd>
|
92
92
|
<dt><code>-x</code>, <code>--ssh-user USERNAME </code></dt><dd>The ssh username</dd>
|
93
93
|
<dt><code>-i</code>, <code>--identity-file IDENTITY_FILE</code></dt><dd>The SSH identity file used for authentication</dd>
|
94
|
+
<dt><code>-p</code>, <code>--ssh-port PORT</code></dt><dd>The ssh port</dd>
|
95
|
+
<dt><code>-i</code>, <code>--identity-file IDENTITY_FILE</code></dt><dd>The SSH identity file used for authentication</dd>
|
96
|
+
<dt><code>--no-host-key-verify</code></dt><dd>Disable host key verification</dd>
|
94
97
|
</dl>
|
95
98
|
|
96
99
|
|
@@ -111,14 +114,11 @@ the <em>COMMAND</em> option matches one of these, <code>knife ssh</code> will cr
|
|
111
114
|
multiple interactive ssh sessions running locally in the terminal
|
112
115
|
multiplexer instead of invoking the command on the remote host.</p>
|
113
116
|
|
114
|
-
<p>The available multiplexers are
|
115
|
-
* <code>interactive</code>:</p>
|
116
|
-
|
117
|
-
<pre><code>A built-in multiplexer. `interactive` supports running commands on a
|
118
|
-
subset of the connected hosts in parallel
|
119
|
-
</code></pre>
|
117
|
+
<p>The available multiplexers are:</p>
|
120
118
|
|
121
119
|
<dl>
|
120
|
+
<dt><code>interactive</code></dt><dd>A built-in multiplexer. <code>interactive</code> supports running commands on a
|
121
|
+
subset of the connected hosts in parallel</dd>
|
122
122
|
<dt><strong>screen</strong>(1)</dt><dd>Runs ssh interactively inside <code>screen</code>. ~/.screenrc will be sourced
|
123
123
|
if it exists.</dd>
|
124
124
|
<dt class="flush"><strong>tmux</strong>(1)</dt><dd>Runs ssh interactively inside tmux.</dd>
|
@@ -134,11 +134,11 @@ option.</dd>
|
|
134
134
|
|
135
135
|
<h2 id="AUTHOR">AUTHOR</h2>
|
136
136
|
|
137
|
-
<p> Chef was written by Adam Jacob <a href="mai&#
|
137
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
138
138
|
|
139
139
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
140
140
|
|
141
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
141
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
142
142
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
143
143
|
|
144
144
|
<h2 id="CHEF">CHEF</h2>
|
@@ -147,8 +147,8 @@ option.</dd>
|
|
147
147
|
|
148
148
|
|
149
149
|
<ol class='man-decor man-foot man foot'>
|
150
|
-
<li class='tl'>Chef 0.10.
|
151
|
-
<li class='tc'>
|
150
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
151
|
+
<li class='tc'>October 2011</li>
|
152
152
|
<li class='tr'>knife-ssh(1)</li>
|
153
153
|
</ol>
|
154
154
|
|
@@ -105,11 +105,11 @@ may not be publicly reachable.</p>
|
|
105
105
|
|
106
106
|
<h2 id="AUTHOR">AUTHOR</h2>
|
107
107
|
|
108
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
108
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
109
109
|
|
110
110
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
111
111
|
|
112
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
112
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
113
113
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
114
114
|
|
115
115
|
<h2 id="CHEF">CHEF</h2>
|
@@ -118,8 +118,8 @@ may not be publicly reachable.</p>
|
|
118
118
|
|
119
119
|
|
120
120
|
<ol class='man-decor man-foot man foot'>
|
121
|
-
<li class='tl'>Chef 0.10.
|
122
|
-
<li class='tc'>
|
121
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
122
|
+
<li class='tc'>October 2011</li>
|
123
123
|
<li class='tr'>knife-status(1)</li>
|
124
124
|
</ol>
|
125
125
|
|
@@ -114,11 +114,11 @@
|
|
114
114
|
|
115
115
|
<h2 id="AUTHOR">AUTHOR</h2>
|
116
116
|
|
117
|
-
<p> Chef was written by Adam Jacob <a href="mai&#
|
117
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many contributions from the community.</p>
|
118
118
|
|
119
119
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
120
120
|
|
121
|
-
<p> This manual page was written by Daniel DeLeo <a href="m&#
|
121
|
+
<p> This manual page was written by Daniel DeLeo <a href="mailto:dan@opscode.com" data-bare-link="true">dan@opscode.com</a>.
|
122
122
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
123
123
|
|
124
124
|
<h2 id="CHEF">CHEF</h2>
|
@@ -127,8 +127,8 @@
|
|
127
127
|
|
128
128
|
|
129
129
|
<ol class='man-decor man-foot man foot'>
|
130
|
-
<li class='tl'>Chef 0.10.
|
131
|
-
<li class='tc'>
|
130
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
131
|
+
<li class='tc'>October 2011</li>
|
132
132
|
<li class='tr'>knife-tag(1)</li>
|
133
133
|
</ol>
|
134
134
|
|
@@ -66,6 +66,7 @@
|
|
66
66
|
<a href="#SUB-COMMANDS">SUB-COMMANDS</a>
|
67
67
|
<a href="#CONFIGURATION">CONFIGURATION</a>
|
68
68
|
<a href="#FILES">FILES</a>
|
69
|
+
<a href="#FORMATS">FORMATS</a>
|
69
70
|
<a href="#CHEF-WORKFLOW">CHEF WORKFLOW</a>
|
70
71
|
<a href="#EXAMPLES">EXAMPLES</a>
|
71
72
|
<a href="#ENVIRONMENT">ENVIRONMENT</a>
|
@@ -128,15 +129,18 @@ documentation using <code>knife help TOPIC</code>.</p>
|
|
128
129
|
<dt><code>-s</code>, <code>--server-url</code> URL</dt><dd>Chef Server URL, corresponds to <code>Chef::Config</code> <code>chef_server_url</code>.</dd>
|
129
130
|
<dt><code>-k</code>, <code>--key</code> KEY</dt><dd>API Client Key, corresponds to <code>Chef::Config</code> <code>client_key</code>.</dd>
|
130
131
|
<dt><code>-c</code>, <code>--config</code> CONFIG</dt><dd>The configuration file to use</dd>
|
132
|
+
<dt><code>-E</code>, <code>--environment ENVIRONMENT</code></dt><dd>Set the Chef environment</dd>
|
131
133
|
<dt><code>-e</code>, <code>--editor</code> EDITOR</dt><dd>Set the editor to use for interactive commands</dd>
|
132
|
-
<dt><code>-F</code>, <code>--format</code> FORMAT</dt><dd>Which format to use for output
|
133
|
-
<dt><code>-
|
134
|
-
<dt><code>-L</code>, <code>--logfile</code> LOGLOCATION</dt><dd>Set the log file location, defaults to STDOUT, corresponds to <code>Chef::Config</code> <code>log_location</code>.</dd>
|
134
|
+
<dt><code>-F</code>, <code>--format</code> FORMAT</dt><dd>Which format to use for output. See FORMATS for details.</dd>
|
135
|
+
<dt><code>-V</code>, <code>--verbose</code></dt><dd>More verbose output. Use twice for max verbosity</dd>
|
135
136
|
<dt><code>-n</code>, <code>--no-editor</code></dt><dd>Do not open EDITOR, just accept the data as is</dd>
|
136
137
|
<dt><code>-u</code>, <code>--user</code> USER</dt><dd>API Client Username, corresponds to <code>Chef::Config</code> <code>node_name</code>.</dd>
|
137
138
|
<dt><code>-p</code>, <code>--print-after</code></dt><dd>Show the data after a destructive operation</dd>
|
138
139
|
<dt><code>-v</code>, <code>--version</code></dt><dd>Show chef version</dd>
|
139
140
|
<dt><code>-y</code>, <code>--yes</code></dt><dd>Say yes to all prompts for confirmation</dd>
|
141
|
+
<dt><code>--defaults</code></dt><dd>Accept default values for all questions</dd>
|
142
|
+
<dt class="flush"><code>--color</code></dt><dd>Use colored output</dd>
|
143
|
+
<dt><code>--no-color</code></dt><dd>Don't use colors in the output</dd>
|
140
144
|
<dt><code>-h</code>, <code>--help</code></dt><dd>Show the available options for a command.</dd>
|
141
145
|
</dl>
|
142
146
|
|
@@ -192,9 +196,9 @@ Specifies the name of the client used to validate new clients.</li>
|
|
192
196
|
Specifies the private key file to use when bootstrapping new hosts.
|
193
197
|
See <span class="man-ref">knife-client<span class="s">(1)</span></span> for more information about the validation
|
194
198
|
client.</li>
|
195
|
-
<li><code>cookbook_copyright</code>, <code>cookbook_email</code>, <code>cookbook_license</code>
|
199
|
+
<li><code>cookbook_copyright</code>, <code>cookbook_email</code>, <code>cookbook_license</code>, <code>readme_format</code>
|
196
200
|
Used by <code>knife cookbook create</code> sub-command to specify the copyright
|
197
|
-
holder, maintainer email and
|
201
|
+
holder, maintainer email, license and readme format (respectively) for new cookbooks.
|
198
202
|
The copyright holder is listed as the maintainer in the cookbook's
|
199
203
|
metadata and as the Copyright in the comments of the default recipe. The
|
200
204
|
maintainer email is used in the cookbook metadata. The license
|
@@ -202,7 +206,9 @@ determines what preamble to put in the comment of the default recipe,
|
|
202
206
|
and is listed as the license in the cookbook metadata. Currently
|
203
207
|
supported licenses are "apachev2" and "none". Any other values will
|
204
208
|
result in an empty license in the metadata (needs to be filled in by the
|
205
|
-
author), and no comment preamble in the default recipe
|
209
|
+
author), and no comment preamble in the default recipe. Currently supported
|
210
|
+
readme formats are "md", "mkd", "txt", and "rdoc". Any other value will
|
211
|
+
result in an unformatted README.</li>
|
206
212
|
</ul>
|
207
213
|
|
208
214
|
|
@@ -212,6 +218,26 @@ author), and no comment preamble in the default recipe.</li>
|
|
212
218
|
|
213
219
|
<p>Ruby DSL configuration file for knife. See <strong>CONFIGURATION</strong>.</p>
|
214
220
|
|
221
|
+
<h2 id="FORMATS">FORMATS</h2>
|
222
|
+
|
223
|
+
<p>The amount of content displayed and the output format are
|
224
|
+
modified by the <code>--format</code> option. If no alternate format is selected,
|
225
|
+
the default is summary.</p>
|
226
|
+
|
227
|
+
<p>Valid formats are:</p>
|
228
|
+
|
229
|
+
<dl>
|
230
|
+
<dt class="flush"><code>summary</code></dt><dd>displays the node in a custom, summarized format (default)</dd>
|
231
|
+
<dt class="flush"><code>text</code></dt><dd>displays the node data in its entirety using the colorized tree display</dd>
|
232
|
+
<dt class="flush"><code>json</code></dt><dd>displays the node in JSON format</dd>
|
233
|
+
<dt class="flush"><code>yaml</code></dt><dd>displays the node in YAML format</dd>
|
234
|
+
<dt class="flush"><code>pp</code></dt><dd>displays the node using Ruby's pretty printer.</dd>
|
235
|
+
</dl>
|
236
|
+
|
237
|
+
|
238
|
+
<p>For brevity, only the first character of the format is required, for
|
239
|
+
example, -Fj will produce JSON format output.</p>
|
240
|
+
|
215
241
|
<h2 id="CHEF-WORKFLOW">CHEF WORKFLOW</h2>
|
216
242
|
|
217
243
|
<p>When working with Chef and Knife in the local repository, the recommended workflow outline looks like:</p>
|
@@ -266,12 +292,12 @@ data editing entirely.</dd>
|
|
266
292
|
|
267
293
|
<h2 id="AUTHOR">AUTHOR</h2>
|
268
294
|
|
269
|
-
<p> Chef was written by Adam Jacob <a href="mailto:&#
|
295
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> of Opscode
|
270
296
|
(<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
|
271
297
|
|
272
298
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
273
299
|
|
274
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
300
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.</p>
|
275
301
|
|
276
302
|
<h2 id="LICENSE">LICENSE</h2>
|
277
303
|
|
@@ -285,8 +311,8 @@ data editing entirely.</dd>
|
|
285
311
|
|
286
312
|
|
287
313
|
<ol class='man-decor man-foot man foot'>
|
288
|
-
<li class='tl'>Chef 0.10.
|
289
|
-
<li class='tc'>
|
314
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
315
|
+
<li class='tc'>October 2011</li>
|
290
316
|
<li class='tr'>knife(1)</li>
|
291
317
|
</ol>
|
292
318
|
|
@@ -258,12 +258,12 @@ and may become out of sync with the behavior of those libraries.</p>
|
|
258
258
|
|
259
259
|
<h2 id="AUTHOR">AUTHOR</h2>
|
260
260
|
|
261
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
261
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> with many
|
262
262
|
contributions from the community. Shef was written by Daniel DeLeo.</p>
|
263
263
|
|
264
264
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
265
265
|
|
266
|
-
<p> This manual page was written by Daniel DeLeo <a href="&#
|
266
|
+
<p> This manual page was written by Daniel DeLeo <a href="mailto:dan@opscode.com" data-bare-link="true">dan@opscode.com</a>.
|
267
267
|
Permission is granted to copy, distribute and / or modify this
|
268
268
|
document under the terms of the Apache 2.0 License.</p>
|
269
269
|
|
@@ -273,8 +273,8 @@ and may become out of sync with the behavior of those libraries.</p>
|
|
273
273
|
|
274
274
|
|
275
275
|
<ol class='man-decor man-foot man foot'>
|
276
|
-
<li class='tl'>Chef 0.10.
|
277
|
-
<li class='tc'>
|
276
|
+
<li class='tl'>Chef 0.10.6.beta.1</li>
|
277
|
+
<li class='tc'>October 2011</li>
|
278
278
|
<li class='tr'>shef(1)</li>
|
279
279
|
</ol>
|
280
280
|
|