chef 10.16.0 → 10.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/distro/common/html/chef-client.8.html +3 -3
- data/distro/common/html/chef-expander.8.html +3 -3
- data/distro/common/html/chef-expanderctl.8.html +3 -3
- data/distro/common/html/chef-server-webui.8.html +3 -3
- data/distro/common/html/chef-server.8.html +3 -3
- data/distro/common/html/chef-solo.8.html +3 -3
- data/distro/common/html/chef-solr.8.html +3 -3
- data/distro/common/html/knife-bootstrap.1.html +3 -3
- 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 +3 -3
- data/distro/common/html/knife-cookbook.1.html +3 -3
- data/distro/common/html/knife-data-bag.1.html +3 -3
- data/distro/common/html/knife-environment.1.html +6 -6
- 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 +4 -4
- data/distro/common/html/knife-role.1.html +6 -6
- 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 +0 -320
- 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 +1 -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 +1 -1
- data/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb +6 -0
- data/lib/chef/knife/cookbook_site_install.rb +10 -1
- data/lib/chef/provider/cookbook_file.rb +0 -3
- data/lib/chef/provider/file.rb +21 -4
- data/lib/chef/provider/remote_directory.rb +24 -15
- data/lib/chef/version.rb +1 -1
- data/spec/functional/resource/cookbook_file_spec.rb +51 -0
- data/spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb +31 -1
- data/spec/unit/mixin/enforce_ownership_and_permissions_spec.rb +2 -0
- data/spec/unit/provider/directory_spec.rb +72 -66
- data/spec/unit/provider/file_spec.rb +72 -66
- data/spec/unit/provider/remote_directory_spec.rb +7 -0
- metadata +5 -4
|
@@ -133,11 +133,11 @@ option.</dd>
|
|
|
133
133
|
|
|
134
134
|
<h2 id="AUTHOR">AUTHOR</h2>
|
|
135
135
|
|
|
136
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
|
136
|
+
<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>
|
|
137
137
|
|
|
138
138
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
|
139
139
|
|
|
140
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
|
140
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
|
141
141
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
|
142
142
|
|
|
143
143
|
<h2 id="CHEF">CHEF</h2>
|
|
@@ -146,7 +146,7 @@ option.</dd>
|
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
<ol class='man-decor man-foot man foot'>
|
|
149
|
-
<li class='tl'>Chef 10.16.
|
|
149
|
+
<li class='tl'>Chef 10.16.2</li>
|
|
150
150
|
<li class='tc'>October 2012</li>
|
|
151
151
|
<li class='tr'>knife-ssh(1)</li>
|
|
152
152
|
</ol>
|
|
@@ -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="m&#
|
|
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,7 +118,7 @@ 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 10.16.
|
|
121
|
+
<li class='tl'>Chef 10.16.2</li>
|
|
122
122
|
<li class='tc'>October 2012</li>
|
|
123
123
|
<li class='tr'>knife-status(1)</li>
|
|
124
124
|
</ol>
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
|
|
115
115
|
<h2 id="AUTHOR">AUTHOR</h2>
|
|
116
116
|
|
|
117
|
-
<p> Chef was written by Adam Jacob <a data-bare-link="true" href="&#
|
|
117
|
+
<p> Chef was written by Adam Jacob <a data-bare-link="true" href="mailto:adam@opscode.com">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 data-bare-link="true" href="&#
|
|
121
|
+
<p> This manual page was written by Daniel DeLeo <a data-bare-link="true" href="mailto:dan@opscode.com">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,7 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
<ol class='man-decor man-foot man foot'>
|
|
130
|
-
<li class='tl'>Chef 10.16.
|
|
130
|
+
<li class='tl'>Chef 10.16.2</li>
|
|
131
131
|
<li class='tc'>October 2012</li>
|
|
132
132
|
<li class='tr'>knife-tag(1)</li>
|
|
133
133
|
</ol>
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
|
5
|
-
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
|
6
|
-
<title>knife(1) - Chef Server API client utility</title>
|
|
7
|
-
<style type='text/css' media='all'>
|
|
8
|
-
/* style: man */
|
|
9
|
-
body#manpage {margin:0}
|
|
10
|
-
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
|
11
|
-
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
|
12
|
-
.mp h2 {margin:10px 0 0 0}
|
|
13
|
-
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
|
14
|
-
.mp h3 {margin:0 0 0 4ex}
|
|
15
|
-
.mp dt {margin:0;clear:left}
|
|
16
|
-
.mp dt.flush {float:left;width:8ex}
|
|
17
|
-
.mp dd {margin:0 0 0 9ex}
|
|
18
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
|
19
|
-
.mp pre {margin-bottom:20px}
|
|
20
|
-
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
|
21
|
-
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
|
22
|
-
.mp img {display:block;margin:auto}
|
|
23
|
-
.mp h1.man-title {display:none}
|
|
24
|
-
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
|
25
|
-
.mp h2 {font-size:16px;line-height:1.25}
|
|
26
|
-
.mp h1 {font-size:20px;line-height:2}
|
|
27
|
-
.mp {text-align:justify;background:#fff}
|
|
28
|
-
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
|
29
|
-
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
|
30
|
-
.mp u {text-decoration:underline}
|
|
31
|
-
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
|
32
|
-
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
|
33
|
-
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
|
34
|
-
.mp b.man-ref {font-weight:normal;color:#434241}
|
|
35
|
-
.mp pre {padding:0 4ex}
|
|
36
|
-
.mp pre code {font-weight:normal;color:#434241}
|
|
37
|
-
.mp h2+pre,h3+pre {padding-left:0}
|
|
38
|
-
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
|
39
|
-
ol.man-decor {width:100%}
|
|
40
|
-
ol.man-decor li.tl {text-align:left}
|
|
41
|
-
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
|
42
|
-
ol.man-decor li.tr {text-align:right;float:right}
|
|
43
|
-
</style>
|
|
44
|
-
<style type='text/css' media='all'>
|
|
45
|
-
/* style: toc */
|
|
46
|
-
.man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
|
|
47
|
-
.man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
|
|
48
|
-
.man-navigation a:hover {color:#111;text-decoration:underline}
|
|
49
|
-
</style>
|
|
50
|
-
</head>
|
|
51
|
-
<!--
|
|
52
|
-
The following styles are deprecated and will be removed at some point:
|
|
53
|
-
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
|
54
|
-
|
|
55
|
-
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
|
56
|
-
.man-navigation should be used instead.
|
|
57
|
-
-->
|
|
58
|
-
<body id='manpage'>
|
|
59
|
-
<div class='mp' id='man'>
|
|
60
|
-
|
|
61
|
-
<div class='man-navigation' style='display:none'>
|
|
62
|
-
<a href="#NAME">NAME</a>
|
|
63
|
-
<a href="#SYNOPSIS">SYNOPSIS</a>
|
|
64
|
-
<a href="#DESCRIPTION">DESCRIPTION</a>
|
|
65
|
-
<a href="#OPTIONS">OPTIONS</a>
|
|
66
|
-
<a href="#SUB-COMMANDS">SUB-COMMANDS</a>
|
|
67
|
-
<a href="#CONFIGURATION">CONFIGURATION</a>
|
|
68
|
-
<a href="#FILES">FILES</a>
|
|
69
|
-
<a href="#FORMATS">FORMATS</a>
|
|
70
|
-
<a href="#CHEF-WORKFLOW">CHEF WORKFLOW</a>
|
|
71
|
-
<a href="#EXAMPLES">EXAMPLES</a>
|
|
72
|
-
<a href="#ENVIRONMENT">ENVIRONMENT</a>
|
|
73
|
-
<a href="#SEE-ALSO">SEE ALSO</a>
|
|
74
|
-
<a href="#AUTHOR">AUTHOR</a>
|
|
75
|
-
<a href="#DOCUMENTATION">DOCUMENTATION</a>
|
|
76
|
-
<a href="#LICENSE">LICENSE</a>
|
|
77
|
-
<a href="#CHEF">CHEF</a>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
<ol class='man-decor man-head man head'>
|
|
81
|
-
<li class='tl'>knife(1)</li>
|
|
82
|
-
<li class='tc'>Chef Manual</li>
|
|
83
|
-
<li class='tr'>knife(1)</li>
|
|
84
|
-
</ol>
|
|
85
|
-
|
|
86
|
-
<h2 id="NAME">NAME</h2>
|
|
87
|
-
<p class="man-name">
|
|
88
|
-
<code>knife</code> - <span class="man-whatis">Chef Server API client utility</span>
|
|
89
|
-
</p>
|
|
90
|
-
|
|
91
|
-
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
|
92
|
-
|
|
93
|
-
<p><strong>knife</strong> <em>sub-command</em> [<em>argument</em>...] <em>(options)</em></p>
|
|
94
|
-
|
|
95
|
-
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
|
96
|
-
|
|
97
|
-
<p>Knife is a command-line utility used to manage data on a Chef server
|
|
98
|
-
through the HTTP(S) API. Knife is organized into groups of subcommands
|
|
99
|
-
centered around the various object types in Chef. Each category of
|
|
100
|
-
subcommand is documented in its own manual page. Available topics are:</p>
|
|
101
|
-
|
|
102
|
-
<ul>
|
|
103
|
-
<li>bootstrap</li>
|
|
104
|
-
<li>client</li>
|
|
105
|
-
<li>configure</li>
|
|
106
|
-
<li>cookbook-site</li>
|
|
107
|
-
<li>cookbook</li>
|
|
108
|
-
<li>data-bag</li>
|
|
109
|
-
<li>environment</li>
|
|
110
|
-
<li>exec</li>
|
|
111
|
-
<li>index</li>
|
|
112
|
-
<li>node</li>
|
|
113
|
-
<li>recipe</li>
|
|
114
|
-
<li>role</li>
|
|
115
|
-
<li>search</li>
|
|
116
|
-
<li>ssh</li>
|
|
117
|
-
<li>status</li>
|
|
118
|
-
<li>tag</li>
|
|
119
|
-
</ul>
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
<p>If the knife manuals are in your <code>MANPATH</code>, you can access help for the
|
|
123
|
-
above topics using <code>man knife-TOPIC</code>; otherwise, you can view the
|
|
124
|
-
documentation using <code>knife help TOPIC</code>.</p>
|
|
125
|
-
|
|
126
|
-
<h2 id="OPTIONS">OPTIONS</h2>
|
|
127
|
-
|
|
128
|
-
<dl>
|
|
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>
|
|
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>
|
|
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>
|
|
133
|
-
<dt><code>-e</code>, <code>--editor</code> EDITOR</dt><dd>Set the editor to use for interactive commands</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>-d</code>, <code>--disable-editing</code></dt><dd>Do not open EDITOR, just accept the data as is</dd>
|
|
136
|
-
<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
|
-
<dt><code>-p</code>, <code>--print-after</code></dt><dd>Show the data after a destructive operation</dd>
|
|
138
|
-
<dt><code>-v</code>, <code>--version</code></dt><dd>Show chef version</dd>
|
|
139
|
-
<dt><code>-V</code>, <code>--verbose</code></dt><dd>More verbose output. Use twice for max verbosity.</dd>
|
|
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><code>--[no-]color</code></dt><dd>Use colored output. Color enabled by default.</dd>
|
|
143
|
-
<dt><code>-h</code>, <code>--help</code></dt><dd>Show the available options for a command.</dd>
|
|
144
|
-
</dl>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
<h2 id="SUB-COMMANDS">SUB-COMMANDS</h2>
|
|
148
|
-
|
|
149
|
-
<p>Sub-commands that operate on the basic Chef data types are structured as
|
|
150
|
-
<em>NOUN verb NOUN (options)</em>. For all data types, the following commands
|
|
151
|
-
are available:</p>
|
|
152
|
-
|
|
153
|
-
<ul>
|
|
154
|
-
<li>create (create)</li>
|
|
155
|
-
<li>list and show (read)</li>
|
|
156
|
-
<li>edit (update)</li>
|
|
157
|
-
<li>delete (destroy)</li>
|
|
158
|
-
</ul>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<p>Knife also includes commands that take actions other than displaying or
|
|
162
|
-
modifying data on the Chef Server, such as <strong><span class="man-ref">knife-ssh<span class="s">(1)</span></span></strong>.</p>
|
|
163
|
-
|
|
164
|
-
<h2 id="CONFIGURATION">CONFIGURATION</h2>
|
|
165
|
-
|
|
166
|
-
<p>The knife configuration file is a Ruby DSL to set configuration
|
|
167
|
-
parameters for Knife's <strong>GENERAL OPTIONS</strong>. The default location for the
|
|
168
|
-
config file is <code>~/.chef/knife.rb</code>. If managing multiple Chef
|
|
169
|
-
repositories, per-repository config files can be created. The file must
|
|
170
|
-
be <code>.chef/knife.rb</code> in the current directory of the repository.</p>
|
|
171
|
-
|
|
172
|
-
<p>If the config file exists, knife uses these settings for <strong>GENERAL OPTIONS</strong> defaults.</p>
|
|
173
|
-
|
|
174
|
-
<ul>
|
|
175
|
-
<li><code>node_name</code>:
|
|
176
|
-
User or client identity (i.e., <em>name</em>) to use for authenticating
|
|
177
|
-
requests to the Chef Server.</li>
|
|
178
|
-
<li><code>client_key</code>:
|
|
179
|
-
Private key file to authenticate to the Chef server. Corresponds to the
|
|
180
|
-
<code>-k</code> or <code>--key</code> option.</li>
|
|
181
|
-
<li><code>chef_server_url</code>:
|
|
182
|
-
URL of the Chef server. Corresponds to the <code>-s</code> or <code>--server-url</code>
|
|
183
|
-
option. This is requested from the user when running this sub-command.</li>
|
|
184
|
-
<li><code>cache_type</code>:
|
|
185
|
-
The type of cache to use. Default is BasicFile. This can be any type of
|
|
186
|
-
Cache that moneta supports: BasicFile, Berkeley, Couch, DataMapper,
|
|
187
|
-
File, LMC, Memcache, Memory, MongoDB, Redis, Rufus, S3, SDBM, Tyrant,
|
|
188
|
-
Xattr, YAML.</li>
|
|
189
|
-
<li><code>cache_options</code>:
|
|
190
|
-
Specifies various options to use for caching. These options are
|
|
191
|
-
dependent on the <code>cache_type</code>.</li>
|
|
192
|
-
<li><code>validation_client_name</code>:
|
|
193
|
-
Specifies the name of the client used to validate new clients.</li>
|
|
194
|
-
<li><code>validation_key</code>:
|
|
195
|
-
Specifies the private key file to use when bootstrapping new hosts.
|
|
196
|
-
See <span class="man-ref">knife-client<span class="s">(1)</span></span> for more information about the validation
|
|
197
|
-
client.</li>
|
|
198
|
-
<li><code>cookbook_copyright</code>, <code>cookbook_email</code>, <code>cookbook_license</code>, <code>readme_format</code>
|
|
199
|
-
Used by <code>knife cookbook create</code> sub-command to specify the copyright
|
|
200
|
-
holder, maintainer email, license and readme format (respectively) for new cookbooks.
|
|
201
|
-
The copyright holder is listed as the maintainer in the cookbook's
|
|
202
|
-
metadata and as the Copyright in the comments of the default recipe. The
|
|
203
|
-
maintainer email is used in the cookbook metadata. The license
|
|
204
|
-
determines what preamble to put in the comment of the default recipe,
|
|
205
|
-
and is listed as the license in the cookbook metadata. Currently
|
|
206
|
-
supported licenses are "apachev2" and "none". Any other values will
|
|
207
|
-
result in an empty license in the metadata (needs to be filled in by the
|
|
208
|
-
author), and no comment preamble in the default recipe. Currently supported
|
|
209
|
-
readme formats are "md", "mkd", "txt", and "rdoc". Any other value will
|
|
210
|
-
result in an unformatted README.</li>
|
|
211
|
-
</ul>
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<h2 id="FILES">FILES</h2>
|
|
215
|
-
|
|
216
|
-
<p><em>~/.chef/knife.rb</em></p>
|
|
217
|
-
|
|
218
|
-
<p>Ruby DSL configuration file for knife. See <strong>CONFIGURATION</strong>.</p>
|
|
219
|
-
|
|
220
|
-
<h2 id="FORMATS">FORMATS</h2>
|
|
221
|
-
|
|
222
|
-
<p>The amount of content displayed and the output format are
|
|
223
|
-
modified by the <code>--format</code> option. If no alternate format is selected,
|
|
224
|
-
the default is summary.</p>
|
|
225
|
-
|
|
226
|
-
<p>Valid formats are:</p>
|
|
227
|
-
|
|
228
|
-
<dl>
|
|
229
|
-
<dt class="flush"><code>summary</code></dt><dd>displays the node in a custom, summarized format (default)</dd>
|
|
230
|
-
<dt class="flush"><code>text</code></dt><dd>displays the node data in its entirety using the colorized tree display</dd>
|
|
231
|
-
<dt class="flush"><code>json</code></dt><dd>displays the node in JSON format</dd>
|
|
232
|
-
<dt class="flush"><code>yaml</code></dt><dd>displays the node in YAML format</dd>
|
|
233
|
-
<dt class="flush"><code>pp</code></dt><dd>displays the node using Ruby's pretty printer.</dd>
|
|
234
|
-
</dl>
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<p>For brevity, only the first character of the format is required, for
|
|
238
|
-
example, -Fj will produce JSON format output.</p>
|
|
239
|
-
|
|
240
|
-
<h2 id="CHEF-WORKFLOW">CHEF WORKFLOW</h2>
|
|
241
|
-
|
|
242
|
-
<p>When working with Chef and Knife in the local repository, the recommended workflow outline looks like:</p>
|
|
243
|
-
|
|
244
|
-
<ul>
|
|
245
|
-
<li>Create repository. A skeleton sample is provided at <em>http://github.com/opscode/chef-repo/</em>.</li>
|
|
246
|
-
<li>Configure knife, see <strong>CONFIGURATION</strong>.</li>
|
|
247
|
-
<li>Download cookbooks from the Opscode cookbooks site, see <strong>COOKBOOK SITE SUB-COMMANDS</strong>.</li>
|
|
248
|
-
<li>Or, create new cookbooks, see <code>cookbook create</code> sub-command.</li>
|
|
249
|
-
<li>Commit changes to the version control system. See your tool's documentation.</li>
|
|
250
|
-
<li>Upload cookbooks to the Chef Server, see <strong>COOKBOOK SUB-COMMANDS</strong>.</li>
|
|
251
|
-
<li>Launch instances in the Cloud, OR provision new hosts; see <strong>CLOUD COMPUTING SUB-COMMANDS</strong> and <strong>BOOTSTRAP SUB-COMMANDS</strong>.</li>
|
|
252
|
-
<li>Watch Chef configure systems!</li>
|
|
253
|
-
</ul>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
<p>A note about git: Opscode and many folks in the Chef community use git,
|
|
257
|
-
but it is not required, except in the case of the <code>cookbook site vendor</code>
|
|
258
|
-
sub-command, as it uses git directly. Version control is strongly
|
|
259
|
-
recommended though, and git fits with a lot of the workflow paradigms.</p>
|
|
260
|
-
|
|
261
|
-
<h2 id="EXAMPLES">EXAMPLES</h2>
|
|
262
|
-
|
|
263
|
-
<h2 id="ENVIRONMENT">ENVIRONMENT</h2>
|
|
264
|
-
|
|
265
|
-
<dl>
|
|
266
|
-
<dt class="flush"><code>EDITOR</code></dt><dd>The text editor to use for editing data. The --editor option takes
|
|
267
|
-
precedence over this value, and the --disable-editing option supresses
|
|
268
|
-
data editing entirely.</dd>
|
|
269
|
-
</dl>
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
|
273
|
-
|
|
274
|
-
<p> <strong><span class="man-ref">chef-client<span class="s">(8)</span></span></strong> <strong><span class="man-ref">chef-server<span class="s">(8)</span></span></strong> <strong><span class="man-ref">shef<span class="s">(1)</span></span></strong></p>
|
|
275
|
-
|
|
276
|
-
<p> <strong><span class="man-ref">knife-bootstrap<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-client<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-configure<span class="s">(1)</span></span></strong>
|
|
277
|
-
<strong><span class="man-ref">knife-cookbook-site<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-cookbook<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-data-bag<span class="s">(1)</span></span></strong>
|
|
278
|
-
<strong><span class="man-ref">knife-environment<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-exec<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-index<span class="s">(1)</span></span></strong>
|
|
279
|
-
<strong><span class="man-ref">knife-node<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-recipe<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-role<span class="s">(1)</span></span></strong>
|
|
280
|
-
<strong><span class="man-ref">knife-search<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-ssh<span class="s">(1)</span></span></strong> <strong><span class="man-ref">knife-tag<span class="s">(1)</span></span></strong></p>
|
|
281
|
-
|
|
282
|
-
<p> Complete Chef documentation is available online: <a href="http://wiki.opscode.com/display/chef/Home/" data-bare-link="true">http://wiki.opscode.com/display/chef/Home/</a></p>
|
|
283
|
-
|
|
284
|
-
<p> JSON is JavaScript Object Notation <a href="http://json.org/" data-bare-link="true">http://json.org/</a></p>
|
|
285
|
-
|
|
286
|
-
<p> SOLR is an open source search engine. <a href="http://lucene.apache.org/solr/" data-bare-link="true">http://lucene.apache.org/solr/</a></p>
|
|
287
|
-
|
|
288
|
-
<p> <strong><span class="man-ref">git<span class="s">(1)</span></span></strong> is a version control system <a href="http://git-scm.com/" data-bare-link="true">http://git-scm.com/</a></p>
|
|
289
|
-
|
|
290
|
-
<p> This manual page was generated from Markdown with <strong><span class="man-ref">ronn<span class="s">(1)</span></span></strong> <a href="http://rtomayko.github.com/ronn/ronn.1.html" data-bare-link="true">http://rtomayko.github.com/ronn/ronn.1.html</a></p>
|
|
291
|
-
|
|
292
|
-
<h2 id="AUTHOR">AUTHOR</h2>
|
|
293
|
-
|
|
294
|
-
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> of Opscode
|
|
295
|
-
(<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
|
|
296
|
-
|
|
297
|
-
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
|
298
|
-
|
|
299
|
-
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.</p>
|
|
300
|
-
|
|
301
|
-
<h2 id="LICENSE">LICENSE</h2>
|
|
302
|
-
|
|
303
|
-
<p> Both Chef and this documentation are released under the terms of the
|
|
304
|
-
Apache 2.0 License. You may view the license online: <a href="http://www.apache.org/licenses/LICENSE-2.0.html" data-bare-link="true">http://www.apache.org/licenses/LICENSE-2.0.html</a>
|
|
305
|
-
On some systems, the complete text of the Apache 2.0 License may be found in <code>/usr/share/common-licenses/Apache-2.0</code>.</p>
|
|
306
|
-
|
|
307
|
-
<h2 id="CHEF">CHEF</h2>
|
|
308
|
-
|
|
309
|
-
<p> Knife is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home" data-bare-link="true">http://wiki.opscode.com/display/chef/Home</a></p>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
<ol class='man-decor man-foot man foot'>
|
|
313
|
-
<li class='tl'>Chef 10.16.0</li>
|
|
314
|
-
<li class='tc'>October 2012</li>
|
|
315
|
-
<li class='tr'>knife(1)</li>
|
|
316
|
-
</ol>
|
|
317
|
-
|
|
318
|
-
</div>
|
|
319
|
-
</body>
|
|
320
|
-
</html>
|
|
@@ -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="m&#
|
|
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,7 +273,7 @@ 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 10.16.
|
|
276
|
+
<li class='tl'>Chef 10.16.2</li>
|
|
277
277
|
<li class='tc'>October 2012</li>
|
|
278
278
|
<li class='tr'>shef(1)</li>
|
|
279
279
|
</ol>
|
|
@@ -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\-BOOTSTRAP" "1" "October 2012" "Chef 10.16.
|
|
4
|
+
.TH "KNIFE\-BOOTSTRAP" "1" "October 2012" "Chef 10.16.2" "Chef Manual"
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBknife\-bootstrap\fR \- Install Chef Client on a remote host
|
|
@@ -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" "October 2012" "Chef 10.16.
|
|
4
|
+
.TH "KNIFE\-CLIENT" "1" "October 2012" "Chef 10.16.2" "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" "October 2012" "Chef 10.16.
|
|
4
|
+
.TH "KNIFE\-CONFIGURE" "1" "October 2012" "Chef 10.16.2" "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" "October 2012" "Chef 10.16.
|
|
4
|
+
.TH "KNIFE\-COOKBOOK\-SITE" "1" "October 2012" "Chef 10.16.2" "Chef Manual"
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBknife\-cookbook\-site\fR \- Install and update open source cookbooks
|