chef 0.10.8 → 0.10.10.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/distro/arch/etc/rc.d/chef-client +15 -1
- data/distro/common/html/chef-client.8.html +4 -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 +4 -4
- data/distro/common/html/knife-bootstrap.1.html +6 -10
- 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 +6 -6
- data/distro/common/html/knife-cookbook.1.html +4 -4
- 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 -5
- data/distro/common/html/knife-role.1.html +4 -4
- data/distro/common/html/knife-search.1.html +4 -4
- data/distro/common/html/knife-ssh.1.html +5 -6
- 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 +7 -8
- data/distro/common/html/shef.1.html +4 -4
- data/distro/common/man/man1/knife-bootstrap.1 +4 -4
- 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 +4 -4
- 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 +2 -2
- 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 +3 -7
- 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 +5 -9
- 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/distro/common/markdown/man1/knife-bootstrap.mkd +3 -7
- data/distro/common/markdown/man1/knife-cookbook-site.mkd +3 -3
- data/distro/common/markdown/man1/knife-node.mkd +2 -2
- data/distro/common/markdown/man1/knife-ssh.mkd +2 -5
- data/distro/common/markdown/man1/knife.mkd +7 -9
- data/distro/debian/etc/init.d/chef-client +22 -1
- data/distro/redhat/etc/init.d/chef-client +12 -1
- data/distro/windows/service_manager.rb +164 -0
- data/lib/chef/application.rb +12 -6
- data/lib/chef/application/client.rb +4 -3
- data/lib/chef/application/knife.rb +7 -12
- data/lib/chef/application/solo.rb +2 -1
- data/lib/chef/application/windows_service.rb +224 -0
- data/lib/chef/checksum_cache.rb +1 -0
- data/lib/chef/client.rb +3 -16
- data/lib/chef/config.rb +42 -13
- data/lib/chef/cookbook/metadata.rb +1 -1
- data/lib/chef/cookbook/syntax_check.rb +2 -2
- data/lib/chef/cookbook_version.rb +5 -0
- data/lib/chef/daemon.rb +1 -1
- data/lib/chef/exceptions.rb +7 -1
- data/lib/chef/file_access_control.rb +13 -87
- data/lib/chef/file_access_control/unix.rb +119 -0
- data/lib/chef/file_access_control/windows.rb +257 -0
- data/lib/chef/handler/json_file.rb +7 -1
- data/lib/chef/knife.rb +10 -16
- data/lib/chef/knife/bootstrap.rb +15 -8
- data/lib/chef/knife/bootstrap/centos5-gems.erb +1 -1
- data/lib/chef/knife/bootstrap/chef-full.erb +59 -0
- data/lib/chef/knife/bootstrap/ubuntu10.04-apt.erb +1 -0
- data/lib/chef/knife/configure.rb +2 -2
- data/lib/chef/knife/cookbook_site_download.rb +60 -21
- data/lib/chef/knife/cookbook_site_install.rb +16 -21
- data/lib/chef/knife/cookbook_upload.rb +77 -48
- data/lib/chef/knife/core/bootstrap_context.rb +3 -1
- data/lib/chef/knife/core/cookbook_scm_repo.rb +1 -1
- data/lib/chef/knife/core/node_editor.rb +1 -1
- data/lib/chef/knife/core/subcommand_loader.rb +1 -1
- data/lib/chef/knife/core/ui.rb +3 -2
- data/lib/chef/knife/help_topics.rb +1 -1
- data/lib/chef/knife/node_run_list_add.rb +14 -6
- data/lib/chef/knife/node_run_list_remove.rb +3 -3
- data/lib/chef/knife/ssh.rb +32 -13
- data/lib/chef/mash.rb +14 -0
- data/lib/chef/mixin/command.rb +1 -0
- data/lib/chef/mixin/command/unix.rb +5 -0
- data/lib/chef/mixin/convert_to_class_name.rb +2 -0
- data/lib/chef/mixin/deep_merge.rb +40 -18
- data/lib/chef/mixin/enforce_ownership_and_permissions.rb +39 -0
- data/lib/chef/mixin/language.rb +89 -3
- data/lib/chef/mixin/language_include_recipe.rb +8 -4
- data/lib/chef/mixin/path_sanity.rb +67 -0
- data/lib/chef/mixin/recipe_definition_dsl_core.rb +19 -11
- data/lib/chef/mixin/securable.rb +152 -0
- data/lib/chef/mixin/shell_out.rb +1 -1
- data/lib/chef/mixin/template.rb +8 -3
- data/lib/chef/mixins.rb +3 -0
- data/lib/chef/monkey_patches/moneta.rb +50 -0
- data/lib/chef/monkey_patches/string.rb +1 -1
- data/lib/chef/node.rb +2 -1
- data/lib/chef/platform.rb +34 -0
- data/lib/chef/provider.rb +23 -21
- data/lib/chef/provider/cron.rb +17 -12
- data/lib/chef/provider/cron/solaris.rb +6 -18
- data/lib/chef/provider/deploy.rb +14 -15
- data/lib/chef/provider/deploy/timestamped.rb +0 -1
- data/lib/chef/provider/directory.rb +1 -3
- data/lib/chef/provider/execute.rb +2 -2
- data/lib/chef/provider/file.rb +1 -75
- data/lib/chef/provider/git.rb +11 -9
- data/lib/chef/provider/group/gpasswd.rb +14 -9
- data/lib/chef/provider/link.rb +28 -59
- data/lib/chef/provider/mdadm.rb +2 -2
- data/lib/chef/provider/mount/mount.rb +1 -1
- data/lib/chef/provider/package.rb +10 -6
- data/lib/chef/provider/package/apt.rb +3 -1
- data/lib/chef/provider/package/dpkg.rb +1 -1
- data/lib/chef/provider/package/portage.rb +6 -3
- data/lib/chef/provider/package/rubygems.rb +75 -6
- data/lib/chef/provider/package/smartos.rb +84 -0
- data/lib/chef/provider/package/yum-dump.py +3 -2
- data/lib/chef/provider/package/yum.rb +51 -10
- data/lib/chef/provider/remote_directory.rb +24 -3
- data/lib/chef/provider/remote_file.rb +0 -6
- data/lib/chef/provider/route.rb +3 -3
- data/lib/chef/provider/service/debian.rb +2 -2
- data/lib/chef/provider/service/freebsd.rb +1 -1
- data/lib/chef/provider/service/macosx.rb +125 -0
- data/lib/chef/provider/service/windows.rb +5 -1
- data/lib/chef/provider/subversion.rb +10 -7
- data/lib/chef/providers.rb +3 -0
- data/lib/chef/resource.rb +181 -87
- data/lib/chef/resource/apt_package.rb +10 -1
- data/lib/chef/resource/chef_gem.rb +53 -0
- data/lib/chef/resource/conditional.rb +3 -0
- data/lib/chef/resource/cookbook_file.rb +12 -6
- data/lib/chef/resource/cron.rb +9 -0
- data/lib/chef/resource/directory.rb +14 -31
- data/lib/chef/resource/execute.rb +11 -9
- data/lib/chef/resource/file.rb +9 -33
- data/lib/chef/resource/link.rb +13 -8
- data/lib/chef/resource/mdadm.rb +10 -1
- data/lib/chef/resource/remote_directory.rb +13 -2
- data/lib/chef/resource/remote_file.rb +14 -7
- data/lib/chef/resource/smartos_package.rb +36 -0
- data/lib/chef/resource/template.rb +12 -5
- data/lib/chef/resource_platform_map.rb +153 -0
- data/lib/chef/resources.rb +2 -0
- data/lib/chef/rest.rb +55 -10
- data/lib/chef/rest/auth_credentials.rb +1 -0
- data/lib/chef/rest/rest_request.rb +24 -8
- data/lib/chef/role.rb +8 -2
- data/lib/chef/run_list.rb +1 -1
- data/lib/chef/run_list/run_list_expansion.rb +2 -2
- data/lib/chef/run_list/run_list_item.rb +7 -0
- data/lib/chef/runner.rb +4 -0
- data/lib/chef/shef.rb +2 -2
- data/lib/chef/shef/shef_session.rb +4 -5
- data/lib/chef/shell_out.rb +2 -245
- data/lib/chef/util/file_edit.rb +99 -89
- data/lib/chef/version.rb +1 -1
- data/lib/chef/win32/api.rb +349 -0
- data/lib/chef/win32/api/error.rb +921 -0
- data/lib/chef/win32/api/file.rb +289 -0
- data/lib/chef/win32/api/memory.rb +105 -0
- data/lib/chef/win32/api/process.rb +40 -0
- data/lib/chef/win32/api/psapi.rb +51 -0
- data/lib/chef/win32/api/security.rb +341 -0
- data/lib/chef/win32/api/system.rb +192 -0
- data/lib/chef/win32/api/unicode.rb +178 -0
- data/lib/chef/win32/error.rb +73 -0
- data/lib/chef/win32/file.rb +117 -0
- data/lib/chef/win32/file/info.rb +100 -0
- data/lib/chef/win32/handle.rb +48 -0
- data/lib/chef/win32/memory.rb +101 -0
- data/lib/chef/win32/process.rb +84 -0
- data/lib/chef/win32/security.rb +489 -0
- data/lib/chef/win32/security/ace.rb +125 -0
- data/lib/chef/win32/security/acl.rb +101 -0
- data/lib/chef/win32/security/securable_object.rb +109 -0
- data/lib/chef/win32/security/security_descriptor.rb +93 -0
- data/lib/chef/win32/security/sid.rb +199 -0
- data/lib/chef/win32/security/token.rb +64 -0
- data/lib/chef/win32/unicode.rb +43 -0
- data/lib/chef/win32/version.rb +119 -0
- metadata +104 -158
- data/lib/chef/shell_out/unix.rb +0 -223
- data/lib/chef/shell_out/windows.rb +0 -588
@@ -134,7 +134,7 @@ regular expression literals in scripting languages).</p>
|
|
134
134
|
|
135
135
|
<p><strong>knife node create</strong> <em>name</em> <em>(options)</em></p>
|
136
136
|
|
137
|
-
<p>Create a new node. Unless the --
|
137
|
+
<p>Create a new node. Unless the --disable-editing option is given, an empty node
|
138
138
|
object will be created and displayed in your text editor. If the editor
|
139
139
|
exits with a successful exit status, the node data will be posted to the
|
140
140
|
Chef Server to create the node.</p>
|
@@ -227,11 +227,11 @@ run list, the correct syntax is "role[ROLE_NAME]"</p>
|
|
227
227
|
|
228
228
|
<h2 id="AUTHOR">AUTHOR</h2>
|
229
229
|
|
230
|
-
<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>
|
231
231
|
|
232
232
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
233
233
|
|
234
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
234
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
235
235
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
236
236
|
|
237
237
|
<h2 id="CHEF">CHEF</h2>
|
@@ -240,8 +240,8 @@ run list, the correct syntax is "role[ROLE_NAME]"</p>
|
|
240
240
|
|
241
241
|
|
242
242
|
<ol class='man-decor man-foot man foot'>
|
243
|
-
<li class='tl'>Chef 0.10.
|
244
|
-
<li class='tc'>
|
243
|
+
<li class='tl'>Chef 0.10.10.beta.1</li>
|
244
|
+
<li class='tc'>April 2012</li>
|
245
245
|
<li class='tr'>knife-node(1)</li>
|
246
246
|
</ol>
|
247
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="m&#
|
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.10.beta.1</li>
|
194
|
+
<li class='tc'>April 2012</li>
|
195
195
|
<li class='tr'>knife-role(1)</li>
|
196
196
|
</ol>
|
197
197
|
|
@@ -265,11 +265,11 @@ www.example.com:</p>
|
|
265
265
|
|
266
266
|
<h2 id="AUTHOR">AUTHOR</h2>
|
267
267
|
|
268
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
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>
|
269
269
|
|
270
270
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
271
271
|
|
272
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
272
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
273
273
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
274
274
|
|
275
275
|
<h2 id="CHEF">CHEF</h2>
|
@@ -278,8 +278,8 @@ www.example.com:</p>
|
|
278
278
|
|
279
279
|
|
280
280
|
<ol class='man-decor man-foot man foot'>
|
281
|
-
<li class='tl'>Chef 0.10.
|
282
|
-
<li class='tc'>
|
281
|
+
<li class='tl'>Chef 0.10.10.beta.1</li>
|
282
|
+
<li class='tc'>April 2012</li>
|
283
283
|
<li class='tr'>knife-search(1)</li>
|
284
284
|
</ol>
|
285
285
|
|
@@ -92,8 +92,7 @@
|
|
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
94
|
<dt><code>-p</code>, <code>--ssh-port PORT</code></dt><dd>The ssh port</dd>
|
95
|
-
<dt><code
|
96
|
-
<dt><code>--no-host-key-verify</code></dt><dd>Disable host key verification</dd>
|
95
|
+
<dt><code>--[no-]host-key-verify</code></dt><dd>Verify host key, enabled by default.</dd>
|
97
96
|
</dl>
|
98
97
|
|
99
98
|
|
@@ -134,11 +133,11 @@ option.</dd>
|
|
134
133
|
|
135
134
|
<h2 id="AUTHOR">AUTHOR</h2>
|
136
135
|
|
137
|
-
<p> Chef was written by Adam Jacob <a href="m&#
|
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>
|
138
137
|
|
139
138
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
140
139
|
|
141
|
-
<p> This manual page was written by Joshua Timberman <a href="m&#
|
140
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
142
141
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
143
142
|
|
144
143
|
<h2 id="CHEF">CHEF</h2>
|
@@ -147,8 +146,8 @@ option.</dd>
|
|
147
146
|
|
148
147
|
|
149
148
|
<ol class='man-decor man-foot man foot'>
|
150
|
-
<li class='tl'>Chef 0.10.
|
151
|
-
<li class='tc'>
|
149
|
+
<li class='tl'>Chef 0.10.10.beta.1</li>
|
150
|
+
<li class='tc'>April 2012</li>
|
152
151
|
<li class='tr'>knife-ssh(1)</li>
|
153
152
|
</ol>
|
154
153
|
|
@@ -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="ma&#
|
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.10.beta.1</li>
|
122
|
+
<li class='tc'>April 2012</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="m&#
|
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="ma&#
|
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.10.beta.1</li>
|
131
|
+
<li class='tc'>April 2012</li>
|
132
132
|
<li class='tr'>knife-tag(1)</li>
|
133
133
|
</ol>
|
134
134
|
|
@@ -133,14 +133,13 @@ documentation using <code>knife help TOPIC</code>.</p>
|
|
133
133
|
<dt><code>-e</code>, <code>--editor</code> EDITOR</dt><dd>Set the editor to use for interactive commands</dd>
|
134
134
|
<dt><code>-F</code>, <code>--format</code> FORMAT</dt><dd>Which format to use for output. See FORMATS for details.</dd>
|
135
135
|
<dt><code>-V</code>, <code>--verbose</code></dt><dd>More verbose output. Use twice for max verbosity</dd>
|
136
|
-
<dt><code>-
|
136
|
+
<dt><code>-d</code>, <code>--disable-editing</code></dt><dd>Do not open EDITOR, just accept the data as is</dd>
|
137
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>
|
138
138
|
<dt><code>-p</code>, <code>--print-after</code></dt><dd>Show the data after a destructive operation</dd>
|
139
139
|
<dt><code>-v</code>, <code>--version</code></dt><dd>Show chef version</dd>
|
140
140
|
<dt><code>-y</code>, <code>--yes</code></dt><dd>Say yes to all prompts for confirmation</dd>
|
141
141
|
<dt><code>--defaults</code></dt><dd>Accept default values for all questions</dd>
|
142
|
-
<dt
|
143
|
-
<dt><code>--no-color</code></dt><dd>Don't use colors in the output</dd>
|
142
|
+
<dt><code>--[no-]color</code></dt><dd>Use colored output. Color enabled by default.</dd>
|
144
143
|
<dt><code>-h</code>, <code>--help</code></dt><dd>Show the available options for a command.</dd>
|
145
144
|
</dl>
|
146
145
|
|
@@ -265,7 +264,7 @@ recommended though, and git fits with a lot of the workflow paradigms.</p>
|
|
265
264
|
|
266
265
|
<dl>
|
267
266
|
<dt class="flush"><code>EDITOR</code></dt><dd>The text editor to use for editing data. The --editor option takes
|
268
|
-
precedence over this value, and the --
|
267
|
+
precedence over this value, and the --disable-editing option supresses
|
269
268
|
data editing entirely.</dd>
|
270
269
|
</dl>
|
271
270
|
|
@@ -292,12 +291,12 @@ data editing entirely.</dd>
|
|
292
291
|
|
293
292
|
<h2 id="AUTHOR">AUTHOR</h2>
|
294
293
|
|
295
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
294
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> of Opscode
|
296
295
|
(<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
|
297
296
|
|
298
297
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
299
298
|
|
300
|
-
<p> This manual page was written by Joshua Timberman <a href="m&#
|
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>
|
301
300
|
|
302
301
|
<h2 id="LICENSE">LICENSE</h2>
|
303
302
|
|
@@ -311,8 +310,8 @@ data editing entirely.</dd>
|
|
311
310
|
|
312
311
|
|
313
312
|
<ol class='man-decor man-foot man foot'>
|
314
|
-
<li class='tl'>Chef 0.10.
|
315
|
-
<li class='tc'>
|
313
|
+
<li class='tl'>Chef 0.10.10.beta.1</li>
|
314
|
+
<li class='tc'>April 2012</li>
|
316
315
|
<li class='tr'>knife(1)</li>
|
317
316
|
</ol>
|
318
317
|
|
@@ -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="mail&#
|
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.10.beta.1</li>
|
277
|
+
<li class='tc'>April 2012</li>
|
278
278
|
<li class='tr'>shef(1)</li>
|
279
279
|
</ol>
|
280
280
|
|
@@ -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" "
|
4
|
+
.TH "KNIFE\-BOOTSTRAP" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-bootstrap\fR \- Install Chef Client on a remote host
|
@@ -58,8 +58,8 @@ Execute the bootstrap via sudo
|
|
58
58
|
Bootstrap a distro using a template
|
59
59
|
.
|
60
60
|
.TP
|
61
|
-
\fB\-\-no\-host\-key\-verify\fR
|
62
|
-
|
61
|
+
\fB\-\-[no\-]host\-key\-verify\fR
|
62
|
+
Enable host key verification, which is the default behavior\.
|
63
63
|
.
|
64
64
|
.SH "DESCRIPTION"
|
65
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\.
|
@@ -96,7 +96,7 @@ ubuntu10\.04\-apt
|
|
96
96
|
.IP "" 0
|
97
97
|
.
|
98
98
|
.P
|
99
|
-
The gems installations will use RubyGems 1\.3\.6 and Chef installed as a gem\. The apt installation will use the Opscode APT repository\.
|
99
|
+
The gems installations will use RubyGems 1\.3\.6 and Chef installed as a gem\. The apt installation will use the Opscode APT repository\.
|
100
100
|
.
|
101
101
|
.P
|
102
102
|
In addition to handling the software installation, these bootstrap templates do the following:
|
@@ -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" "
|
4
|
+
.TH "KNIFE\-CLIENT" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-CONFIGURE" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-COOKBOOK\-SITE" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-cookbook\-site\fR \- Install and update open source cookbooks
|
@@ -16,8 +16,8 @@
|
|
16
16
|
\fBcookbook site install COOKBOOK [VERSION]\fR \fI(options)\fR
|
17
17
|
.
|
18
18
|
.TP
|
19
|
-
\fB\-D\fR, \fB\-\-
|
20
|
-
|
19
|
+
\fB\-D\fR, \fB\-\-skip\-dependencies\fR
|
20
|
+
Skip automatic installation of dependencies\.
|
21
21
|
.
|
22
22
|
.TP
|
23
23
|
\fB\-o\fR, \fB\-\-cookbook\-path PATH\fR
|
@@ -51,7 +51,7 @@ The pristine copy branch is merged into the master branch\.
|
|
51
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\.
|
52
52
|
.
|
53
53
|
.P
|
54
|
-
Unless \fI\-
|
54
|
+
Unless \fI\-\-skip\-dependencies\fR is specified, the process is applied recursively to all the cookbooks \fICOOKBOOK\fR depends on (via metadata \fIdependencies\fR)\.
|
55
55
|
.
|
56
56
|
.SH "DOWNLOAD"
|
57
57
|
\fBknife cookbook site download COOKBOOK [VERSION]\fR \fI(options)\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" "
|
4
|
+
.TH "KNIFE\-COOKBOOK" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-cookbook\fR \- upload and manage chef cookbooks
|
@@ -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" "
|
4
|
+
.TH "KNIFE\-DATA\-BAG" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-ENVIRONMENT" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-EXEC" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-INDEX" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-NODE" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-node\fR \- Manage the hosts in your infrastructure
|
@@ -31,7 +31,7 @@ Deletes nodes for which the name matches the regular expression \fIregex\fR on t
|
|
31
31
|
\fBknife node create\fR \fIname\fR \fI(options)\fR
|
32
32
|
.
|
33
33
|
.P
|
34
|
-
Create a new node\. Unless the \-\-
|
34
|
+
Create a new node\. Unless the \-\-disable\-editing option is given, an empty node object will be created and displayed in your text editor\. If the editor exits with a successful exit status, the node data will be posted to the Chef Server to create the node\.
|
35
35
|
.
|
36
36
|
.SH "DELETE"
|
37
37
|
\fBknife node delete\fR \fIname\fR \fI(options)\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\-ROLE" "1" "
|
4
|
+
.TH "KNIFE\-ROLE" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-SEARCH" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-search\fR \- Find objects on a Chef Server by query
|
@@ -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" "
|
4
|
+
.TH "KNIFE\-SSH" "1" "April 2012" "Chef 0.10.10.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
|
@@ -38,12 +38,8 @@ The SSH identity file used for authentication
|
|
38
38
|
The ssh port
|
39
39
|
.
|
40
40
|
.TP
|
41
|
-
\fB
|
42
|
-
|
43
|
-
.
|
44
|
-
.TP
|
45
|
-
\fB\-\-no\-host\-key\-verify\fR
|
46
|
-
Disable host key verification
|
41
|
+
\fB\-\-[no\-]host\-key\-verify\fR
|
42
|
+
Verify host key, enabled by default\.
|
47
43
|
.
|
48
44
|
.SH "DESCRIPTION"
|
49
45
|
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)\.
|
@@ -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" "
|
4
|
+
.TH "KNIFE\-STATUS" "1" "April 2012" "Chef 0.10.10.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" "
|
4
|
+
.TH "KNIFE\-TAG" "1" "April 2012" "Chef 0.10.10.beta.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-tag\fR \- Apply tags to nodes on a Chef Server
|