chef 11.10.0.alpha.1-x86-mingw32 → 11.10.0.rc.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +57 -36
- 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-shell.1.html +4 -4
- data/distro/common/html/chef-solo.8.html +4 -4
- data/distro/common/html/chef-solr.8.html +5 -5
- data/distro/common/html/knife-bootstrap.1.html +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- data/distro/common/man/man1/knife-bootstrap.1 +58 -64
- data/distro/common/man/man1/knife-client.1 +19 -22
- data/distro/common/man/man1/knife-configure.1 +37 -46
- data/distro/common/man/man1/knife-cookbook-site.1 +14 -17
- data/distro/common/man/man1/knife-cookbook.1 +15 -18
- data/distro/common/man/man1/knife-data-bag.1 +14 -17
- data/distro/common/man/man1/knife-delete.1 +38 -47
- data/distro/common/man/man1/knife-deps.1 +39 -48
- data/distro/common/man/man1/knife-diff.1 +43 -52
- data/distro/common/man/man1/knife-download.1 +47 -53
- data/distro/common/man/man1/knife-edit.1 +32 -41
- data/distro/common/man/man1/knife-environment.1 +14 -17
- data/distro/common/man/man1/knife-exec.1 +52 -61
- data/distro/common/man/man1/knife-index-rebuild.1 +1 -61
- data/distro/common/man/man1/knife-list.1 +47 -59
- data/distro/common/man/man1/knife-node.1 +15 -18
- data/distro/common/man/man1/knife-raw.1 +28 -46
- data/distro/common/man/man1/knife-recipe-list.1 +1 -61
- data/distro/common/man/man1/knife-role.1 +19 -25
- data/distro/common/man/man1/knife-search.1 +53 -62
- data/distro/common/man/man1/knife-show.1 +36 -28
- data/distro/common/man/man1/knife-ssh.1 +55 -61
- data/distro/common/man/man1/knife-status.1 +34 -43
- data/distro/common/man/man1/knife-tag.1 +14 -17
- data/distro/common/man/man1/knife-upload.1 +47 -56
- data/distro/common/man/man1/knife-user.1 +17 -20
- data/distro/common/man/man1/knife-xargs.1 +60 -69
- data/lib/chef/application.rb +3 -1
- data/lib/chef/application/windows_service.rb +0 -1
- data/lib/chef/client.rb +41 -152
- data/lib/chef/config.rb +19 -23
- data/lib/chef/data_bag.rb +1 -1
- data/lib/chef/data_bag_item.rb +1 -1
- data/lib/chef/exceptions.rb +8 -0
- data/lib/chef/formatters/doc.rb +15 -0
- data/lib/chef/formatters/error_inspectors/api_error_formatting.rb +2 -1
- data/lib/chef/http.rb +18 -8
- data/lib/chef/http/authenticator.rb +4 -0
- data/lib/chef/http/cookie_manager.rb +3 -0
- data/lib/chef/http/decompressor.rb +4 -0
- data/lib/chef/http/json_input.rb +4 -0
- data/lib/chef/http/json_output.rb +4 -0
- data/lib/chef/http/validate_content_length.rb +94 -0
- data/lib/chef/knife.rb +0 -1
- data/lib/chef/knife/configure.rb +6 -6
- data/lib/chef/knife/cookbook_create.rb +2 -2
- data/lib/chef/knife/core/subcommand_loader.rb +49 -3
- data/lib/chef/knife/ssh.rb +34 -4
- data/lib/chef/mixin/path_sanity.rb +1 -0
- data/lib/chef/monologger.rb +1 -2
- data/lib/chef/node.rb +7 -0
- data/lib/chef/policy_builder.rb +49 -0
- data/lib/chef/policy_builder/expand_node_object.rb +230 -0
- data/lib/chef/policy_builder/policyfile.rb +338 -0
- data/lib/chef/provider/file.rb +15 -5
- data/lib/chef/provider/group.rb +6 -2
- data/lib/chef/provider/group/windows.rb +12 -2
- data/lib/chef/provider/http_request.rb +3 -2
- data/lib/chef/provider/package.rb +1 -0
- data/lib/chef/provider/package/aix.rb +1 -1
- data/lib/chef/provider/service/debian.rb +7 -2
- data/lib/chef/resource/file.rb +8 -1
- data/lib/chef/resource/package.rb +9 -0
- data/lib/chef/resource/service.rb +0 -1
- data/lib/chef/rest.rb +2 -0
- data/lib/chef/run_context.rb +1 -1
- data/lib/chef/util/file_edit.rb +1 -1
- data/lib/chef/util/windows/net_group.rb +7 -6
- data/lib/chef/version.rb +1 -1
- data/lib/chef/win32/version.rb +31 -18
- data/spec/data/cookbooks/preseed/templates/default/preseed-template-variables.seed +1 -0
- data/spec/functional/resource/file_spec.rb +0 -1
- data/spec/functional/resource/group_spec.rb +96 -16
- data/spec/functional/resource/package_spec.rb +17 -0
- data/spec/functional/resource/user_spec.rb +2 -2
- data/spec/functional/win32/versions_spec.rb +39 -0
- data/spec/integration/client/client_spec.rb +27 -28
- data/spec/spec_helper.rb +2 -0
- data/spec/support/platform_helpers.rb +7 -1
- data/spec/support/shared/functional/file_resource.rb +83 -43
- data/spec/unit/application_spec.rb +7 -5
- data/spec/unit/client_spec.rb +10 -3
- data/spec/unit/config_spec.rb +0 -30
- data/spec/unit/cookbook_spec.rb +1 -0
- data/spec/unit/data_bag_item_spec.rb +8 -0
- data/spec/unit/data_bag_spec.rb +6 -0
- data/spec/unit/http_spec.rb +48 -0
- data/spec/unit/knife/core/subcommand_loader_spec.rb +77 -1
- data/spec/unit/knife/ssh_spec.rb +107 -0
- data/spec/unit/mixin/path_sanity_spec.rb +6 -0
- data/spec/unit/mixin/securable_spec.rb +77 -3
- data/spec/unit/monologger_spec.rb +45 -0
- data/spec/unit/node_spec.rb +16 -0
- data/spec/unit/policy_builder/expand_node_object_spec.rb +320 -0
- data/spec/unit/policy_builder/policyfile_spec.rb +399 -0
- data/spec/unit/policy_builder_spec.rb +26 -0
- data/spec/unit/provider/deploy_spec.rb +3 -0
- data/spec/unit/provider/group/windows_spec.rb +1 -0
- data/spec/unit/provider/http_request_spec.rb +23 -1
- data/spec/unit/provider/service/debian_service_spec.rb +50 -19
- data/spec/unit/recipe_spec.rb +4 -0
- data/spec/unit/resource/package_spec.rb +5 -0
- data/spec/unit/rest_spec.rb +375 -278
- data/spec/unit/run_context_spec.rb +4 -0
- metadata +120 -75
- checksums.yaml +0 -7
@@ -212,11 +212,11 @@ encryption keys.</p>
|
|
212
212
|
|
213
213
|
<h2 id="AUTHOR">AUTHOR</h2>
|
214
214
|
|
215
|
-
<p> Chef was written by Adam Jacob <a href="ma&#
|
215
|
+
<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>
|
216
216
|
|
217
217
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
218
218
|
|
219
|
-
<p> This manual page was written by Joshua Timberman <a href="m&#
|
219
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.
|
220
220
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
221
221
|
|
222
222
|
<h2 id="CHEF">CHEF</h2>
|
@@ -225,8 +225,8 @@ encryption keys.</p>
|
|
225
225
|
|
226
226
|
|
227
227
|
<ol class='man-decor man-foot man foot'>
|
228
|
-
<li class='tl'>Chef 11.10.0.
|
229
|
-
<li class='tc'>
|
228
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
229
|
+
<li class='tc'>January 2014</li>
|
230
230
|
<li class='tr'>knife-data-bag(1)</li>
|
231
231
|
</ol>
|
232
232
|
|
@@ -242,11 +242,11 @@ override_attributes "aws_s3_bucket" => "production"
|
|
242
242
|
|
243
243
|
<h2 id="AUTHOR">AUTHOR</h2>
|
244
244
|
|
245
|
-
<p> Chef was written by Adam Jacob <a href="&#
|
245
|
+
<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>
|
246
246
|
|
247
247
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
248
248
|
|
249
|
-
<p> This manual page was written by Daniel DeLeo <a href="m&#
|
249
|
+
<p> This manual page was written by Daniel DeLeo <a href="mailto:dan@opscode.com" data-bare-link="true">dan@opscode.com</a>.
|
250
250
|
Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
|
251
251
|
|
252
252
|
<h2 id="CHEF">CHEF</h2>
|
@@ -255,8 +255,8 @@ override_attributes "aws_s3_bucket" => "production"
|
|
255
255
|
|
256
256
|
|
257
257
|
<ol class='man-decor man-foot man foot'>
|
258
|
-
<li class='tl'>Chef 11.10.0.
|
259
|
-
<li class='tc'>
|
258
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
259
|
+
<li class='tc'>January 2014</li>
|
260
260
|
<li class='tr'>knife-environment(1)</li>
|
261
261
|
</ol>
|
262
262
|
|
@@ -111,11 +111,11 @@ description of the 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 @@ description of the commands available.</p>
|
|
124
124
|
|
125
125
|
|
126
126
|
<ol class='man-decor man-foot man foot'>
|
127
|
-
<li class='tl'>Chef 11.10.0.
|
128
|
-
<li class='tc'>
|
127
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
128
|
+
<li class='tc'>January 2014</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="ma&#
|
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 11.10.0.
|
119
|
-
<li class='tc'>
|
118
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
119
|
+
<li class='tc'>January 2014</li>
|
120
120
|
<li class='tr'>knife-index(1)</li>
|
121
121
|
</ol>
|
122
122
|
|
@@ -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 11.10.0.
|
244
|
-
<li class='tc'>
|
243
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
244
|
+
<li class='tc'>January 2014</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="&#
|
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="&#
|
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 11.10.0.
|
194
|
-
<li class='tc'>
|
193
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
194
|
+
<li class='tc'>January 2014</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="m&#
|
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 11.10.0.
|
282
|
-
<li class='tc'>
|
281
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
282
|
+
<li class='tc'>January 2014</li>
|
283
283
|
<li class='tr'>knife-search(1)</li>
|
284
284
|
</ol>
|
285
285
|
|
@@ -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="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>
|
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,8 +146,8 @@ option.</dd>
|
|
146
146
|
|
147
147
|
|
148
148
|
<ol class='man-decor man-foot man foot'>
|
149
|
-
<li class='tl'>Chef 11.10.0.
|
150
|
-
<li class='tc'>
|
149
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
150
|
+
<li class='tc'>January 2014</li>
|
151
151
|
<li class='tr'>knife-ssh(1)</li>
|
152
152
|
</ol>
|
153
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="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,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 11.10.0.
|
122
|
-
<li class='tc'>
|
121
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
122
|
+
<li class='tc'>January 2014</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="&#
|
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="&#
|
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 11.10.0.
|
131
|
-
<li class='tc'>
|
130
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
131
|
+
<li class='tc'>January 2014</li>
|
132
132
|
<li class='tr'>knife-tag(1)</li>
|
133
133
|
</ol>
|
134
134
|
|
@@ -286,12 +286,12 @@ data editing entirely.</dd>
|
|
286
286
|
|
287
287
|
<h2 id="AUTHOR">AUTHOR</h2>
|
288
288
|
|
289
|
-
<p> Chef was written by Adam Jacob <a href="ma&#
|
289
|
+
<p> Chef was written by Adam Jacob <a href="mailto:adam@opscode.com" data-bare-link="true">adam@opscode.com</a> of Opscode
|
290
290
|
(<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
|
291
291
|
|
292
292
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
293
293
|
|
294
|
-
<p> This manual page was written by Joshua Timberman <a href="&#
|
294
|
+
<p> This manual page was written by Joshua Timberman <a href="mailto:joshua@opscode.com" data-bare-link="true">joshua@opscode.com</a>.</p>
|
295
295
|
|
296
296
|
<h2 id="LICENSE">LICENSE</h2>
|
297
297
|
|
@@ -305,8 +305,8 @@ data editing entirely.</dd>
|
|
305
305
|
|
306
306
|
|
307
307
|
<ol class='man-decor man-foot man foot'>
|
308
|
-
<li class='tl'>Chef 11.10.0.
|
309
|
-
<li class='tc'>
|
308
|
+
<li class='tl'>Chef 11.10.0.rc.0</li>
|
309
|
+
<li class='tc'>January 2014</li>
|
310
310
|
<li class='tr'>knife(1)</li>
|
311
311
|
</ol>
|
312
312
|
|
@@ -38,66 +38,6 @@ The \fBknife bootstrap\fP subcommand is used run a bootstrap operation that inst
|
|
38
38
|
To bootstrap the chef\-client on Microsoft Windows machines, the \fI\%knife-windows\fP plugins is required, which includes the necessary bootstrap scripts that are used to do the actual installation.
|
39
39
|
.RE
|
40
40
|
.sp
|
41
|
-
\fBCommon Options\fP
|
42
|
-
.sp
|
43
|
-
The following options can be run with all Knife sub\-commands and plug\-ins:
|
44
|
-
.INDENT 0.0
|
45
|
-
.TP
|
46
|
-
.B \fB\-c CONFIG\fP, \fB\-\-config CONFIG\fP
|
47
|
-
The configuration file to use.
|
48
|
-
.TP
|
49
|
-
.B \fB\-\-color\fP
|
50
|
-
Indicates that colored output will be used.
|
51
|
-
.TP
|
52
|
-
.B \fB\-d\fP, \fB\-\-disable\-editing\fP
|
53
|
-
Indicates that $EDITOR will not be opened; data will be accepted as\-is.
|
54
|
-
.TP
|
55
|
-
.B \fB\-\-defaults\fP
|
56
|
-
Indicates that Knife will use the default value, instead of asking a user to provide one.
|
57
|
-
.TP
|
58
|
-
.B \fB\-e EDITOR\fP, \fB\-\-editor EDITOR\fP
|
59
|
-
The $EDITOR that is used for all interactive commands.
|
60
|
-
.TP
|
61
|
-
.B \fB\-E ENVIRONMENT\fP, \fB\-\-environment ENVIRONMENT\fP
|
62
|
-
The name of the environment. When this option is added to a command, the command will run only against the named environment.
|
63
|
-
.TP
|
64
|
-
.B \fB\-f FILE_NAME\fP, \fB\-\-file FILE_NAME\fP
|
65
|
-
Indicates that the private key will be saved to a specified file name.
|
66
|
-
.TP
|
67
|
-
.B \fB\-F FORMAT\fP, \fB\-\-format FORMAT\fP
|
68
|
-
The output format: \fBsummary\fP (default), \fBtext\fP, \fBjson\fP, \fByaml\fP, and \fBpp\fP.
|
69
|
-
.TP
|
70
|
-
.B \fB\-h\fP, \fB\-\-help\fP
|
71
|
-
Shows help for the command.
|
72
|
-
.TP
|
73
|
-
.B \fB\-k KEY\fP, \fB\-\-key KEY\fP
|
74
|
-
The private key that Knife will use to sign requests made by the API client to the server.
|
75
|
-
.TP
|
76
|
-
.B \fB\-\-no\-color\fP
|
77
|
-
Indicates that color will not be used in the output.
|
78
|
-
.TP
|
79
|
-
.B \fB\-p PASSWORD\fP, \fB\-\-password PASSWORD\fP
|
80
|
-
The user password.
|
81
|
-
.TP
|
82
|
-
.B \fB\-\-print\-after\fP
|
83
|
-
Indicates that data will be shown after a destructive operation.
|
84
|
-
.TP
|
85
|
-
.B \fB\-s URL\fP, \fB\-\-server\-url URL\fP
|
86
|
-
The URL for the server.
|
87
|
-
.TP
|
88
|
-
.B \fB\-u USER\fP, \fB\-\-user USER\fP
|
89
|
-
The user name used by Knife to sign requests made by the API client to the server. Authentication will fail if the user name does not match the private key.
|
90
|
-
.TP
|
91
|
-
.B \fB\-v\fP, \fB\-\-version\fP
|
92
|
-
The version of the chef\-client.
|
93
|
-
.TP
|
94
|
-
.B \fB\-V\fP, \fB\-\-verbose\fP
|
95
|
-
Set for more verbose outputs. Use \fB\-VV\fP for maximum verbosity.
|
96
|
-
.TP
|
97
|
-
.B \fB\-y\fP, \fB\-\-yes\fP
|
98
|
-
Indicates that the response to all confirmation prompts will be "Yes" (and that Knife will not ask for confirmation).
|
99
|
-
.UNINDENT
|
100
|
-
.sp
|
101
41
|
\fBSyntax\fP
|
102
42
|
.sp
|
103
43
|
This argument has the following syntax:
|
@@ -116,33 +56,66 @@ This subcommand has the following options:
|
|
116
56
|
.B \fB\-A\fP, \fB\-\-forward\-agent\fP
|
117
57
|
Indicates that SSH agent forwarding is enabled.
|
118
58
|
.TP
|
59
|
+
.B \fB\-\-bootstrap\-no\-proxy NO_PROXY_URL_or_IP\fP
|
60
|
+
A URL or IP address that specifies a location that should not be proxied. Note: This option is used internally by Chef to help verify bootstrap operations during testing and should never be used during an actual bootstrap operation.
|
61
|
+
.TP
|
119
62
|
.B \fB\-\-bootstrap\-proxy PROXY_URL\fP
|
120
63
|
The proxy server for the node that is the target of a bootstrap operation.
|
121
64
|
.TP
|
122
65
|
.B \fB\-\-bootstrap\-version VERSION\fP
|
123
66
|
The version of the chef\-client to install.
|
124
67
|
.TP
|
68
|
+
.B \fB\-c CONFIG_FILE\fP, \fB\-\-config CONFIG_FILE\fP
|
69
|
+
The configuration file to use.
|
70
|
+
.TP
|
71
|
+
.B \fB\-\-chef\-zero\-port PORT\fP
|
72
|
+
The port on which chef\-zero will listen.
|
73
|
+
.TP
|
74
|
+
.B \fB\-\-[no\-]color\fP
|
75
|
+
Indicates whether colored output will be used.
|
76
|
+
.TP
|
125
77
|
.B \fB\-d DISTRO\fP, \fB\-\-distro DISTRO\fP
|
126
78
|
The template file to be used during a bootstrap operation. The following distributions are supported: \fBchef\-full\fP (the default bootstrap), \fBcentos5\-gems\fP, \fBfedora13\-gems\fP, \fBubuntu10.04\-gems\fP, \fBubuntu10.04\-apt\fP, \fBubuntu12.04\-gems\fP, and the name of a custom bootstrap template file. When this option is used, Knife will search for the template file in the following order: the \fBbootstrap/\fP folder in the current working directory, the \fBbootstrap/\fP folder in the chef\-repo, the \fBbootstrap/\fP folder in the \fB~/.chef/\fP directory, or a default bootstrap file. Do not use the \fB\-\-template\-file\fP option when \fB\-\-distro\fP is specified.
|
127
79
|
.TP
|
80
|
+
.B \fB\-\-defaults\fP
|
81
|
+
Indicates that Knife will use the default value, instead of asking a user to provide one.
|
82
|
+
.TP
|
83
|
+
.B \fB\-\-disable\-editing\fP
|
84
|
+
Indicates that $EDITOR will not be opened; data will be accepted as\-is.
|
85
|
+
.TP
|
86
|
+
.B \fB\-e EDITOR\fP, \fB\-\-editor EDITOR\fP
|
87
|
+
The $EDITOR that is used for all interactive commands.
|
88
|
+
.TP
|
89
|
+
.B \fB\-E ENVIRONMENT\fP, \fB\-\-environment ENVIRONMENT\fP
|
90
|
+
The name of the environment. When this option is added to a command, the command will run only against the named environment.
|
91
|
+
.TP
|
92
|
+
.B \fB\-F FORMAT\fP, \fB\-\-format FORMAT\fP
|
93
|
+
The output format: \fBsummary\fP (default), \fBtext\fP, \fBjson\fP, \fByaml\fP, and \fBpp\fP.
|
94
|
+
.TP
|
128
95
|
.B \fB\-G GATEWAY\fP, \fB\-\-ssh\-gateway GATEWAY\fP
|
129
96
|
The SSH tunnel or gateway that is used to run a bootstrap action on a machine that is not accessible from the workstation.
|
130
97
|
.TP
|
98
|
+
.B \fB\-h\fP, \fB\-\-help\fP
|
99
|
+
Shows help for the command.
|
100
|
+
.TP
|
131
101
|
.B \fB\-\-hint HINT_NAME[=HINT_FILE]\fP
|
132
102
|
An Ohai hint to be set on the target of the bootstrap. The hint is contained in a file and is formatted as JSON: \fB{"attribute":"value","attribute":"value"...}\fP. \fBHINT_NAME\fP is the name of the hint and \fBHINT_FILE\fP is the name of the hint file located at \fB/etc/chef/ohai/hints/HINT_FILE.json\fP. Use multiple \fB\-\-hint\fP options in the command to specify multiple hints.
|
133
103
|
.TP
|
104
|
+
.B \fB\-\-[no\-]host\-key\-verify\fP
|
105
|
+
Use \fB\-\-no\-host\-key\-verify\fP to disable host key verification. Default setting: \fB\-\-host\-key\-verify\fP.
|
106
|
+
.TP
|
134
107
|
.B \fB\-i IDENTITY_FILE\fP, \fB\-\-identity\-file IDENTITY_FILE\fP
|
135
108
|
The SSH identity file used for authentication. Key\-based authentication is recommended.
|
136
109
|
.TP
|
137
110
|
.B \fB\-j JSON_ATTRIBS\fP, \fB\-\-json\-attributes JSON_ATTRIBS\fP
|
138
111
|
A JSON string that is added to the first run of a chef\-client.
|
139
112
|
.TP
|
113
|
+
.B \fB\-k KEY\fP, \fB\-\-key KEY\fP
|
114
|
+
The private key that Knife will use to sign requests made by the API client to the server.
|
115
|
+
.TP
|
140
116
|
.B \fB\-N NAME\fP, \fB\-\-node\-name NAME\fP
|
141
117
|
The name of the node.
|
142
118
|
.TP
|
143
|
-
.B \fB\-\-[no\-]host\-key\-verify\fP
|
144
|
-
Use \fB\-\-no\-host\-key\-verify\fP to disable host key verification. Default setting: \fB\-\-host\-key\-verify\fP.
|
145
|
-
.TP
|
146
119
|
.B \fB\-p PORT\fP, \fB\-\-ssh\-port PORT\fP
|
147
120
|
The SSH port.
|
148
121
|
.TP
|
@@ -152,9 +125,15 @@ The SSH password. This can be used to pass the password directly on the command
|
|
152
125
|
.B \fB\-\-prerelease\fP
|
153
126
|
Indicates that pre\-release gems should be installed.
|
154
127
|
.TP
|
128
|
+
.B \fB\-\-print\-after\fP
|
129
|
+
Indicates that data will be shown after a destructive operation.
|
130
|
+
.TP
|
155
131
|
.B \fB\-r RUN_LIST\fP, \fB\-\-run\-list RUN_LIST\fP
|
156
132
|
A comma\-separated list of roles and/or recipes to be applied.
|
157
133
|
.TP
|
134
|
+
.B \fB\-s URL\fP, \fB\-\-server\-url URL\fP
|
135
|
+
The URL for the server.
|
136
|
+
.TP
|
158
137
|
.B \fB\-\-secret SECRET\fP
|
159
138
|
The encryption key that is used for values contained within a data bag.
|
160
139
|
.TP
|
@@ -167,11 +146,26 @@ Indicates that a bootstrap operation should be executed using sudo.
|
|
167
146
|
.B \fB\-\-template\-file TEMPLATE\fP
|
168
147
|
The path to a template file that will be used during a bootstrap operation. Do not use the \fB\-\-distro\fP option when \fB\-\-template\-file\fP is specified.
|
169
148
|
.TP
|
149
|
+
.B \fB\-u USER\fP, \fB\-\-user USER\fP
|
150
|
+
The user name used by Knife to sign requests made by the API client to the server. Authentication will fail if the user name does not match the private key.
|
151
|
+
.TP
|
170
152
|
.B \fB\-\-use\-sudo\-password\fP
|
171
153
|
Indicates that a bootstrap operation is done using sudo, with the password specified by the \fB\-P\fP (or \fB\-\-ssh\-password\fP) option.
|
172
154
|
.TP
|
155
|
+
.B \fB\-v\fP, \fB\-\-version\fP
|
156
|
+
The version of the chef\-client.
|
157
|
+
.TP
|
158
|
+
.B \fB\-V\fP, \fB\-\-verbose\fP
|
159
|
+
Set for more verbose outputs. Use \fB\-VV\fP for maximum verbosity.
|
160
|
+
.TP
|
173
161
|
.B \fB\-x USERNAME\fP, \fB\-\-ssh\-user USERNAME\fP
|
174
162
|
The SSH user name.
|
163
|
+
.TP
|
164
|
+
.B \fB\-y\fP, \fB\-\-yes\fP
|
165
|
+
Indicates that the response to all confirmation prompts will be "Yes" (and that Knife will not ask for confirmation).
|
166
|
+
.TP
|
167
|
+
.B \fB\-z\fP, \fB\-\-local\-mode\fP
|
168
|
+
Indicates that the chef\-client will be run in local mode, which allows all commands that work against the server to also work against the local chef\-repo.
|
175
169
|
.UNINDENT
|
176
170
|
.sp
|
177
171
|
\fBExamples\fP
|
@@ -192,6 +186,6 @@ $ knife bootstrap 192.168.1.1 \-x username \-i ~/.ssh/id_rsa \-\-sudo
|
|
192
186
|
.ft P
|
193
187
|
.fi
|
194
188
|
.SH AUTHOR
|
195
|
-
|
189
|
+
Chef
|
196
190
|
.\" Generated by docutils manpage writer.
|
197
191
|
.
|