chef 10.16.0.rc.0 → 10.16.0.rc.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 +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 +4 -4
- data/distro/common/html/knife-client.1.html +3 -3
- 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 +3 -3
- data/distro/common/html/knife-node.1.html +4 -4
- data/distro/common/html/knife-role.1.html +3 -3
- 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 +4 -4
- data/distro/common/html/knife-tag.1.html +4 -4
- data/distro/common/html/knife.1.html +11 -11
- data/distro/common/html/shef.1.html +7 -7
- 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/application.rb +14 -1
- data/lib/chef/application/client.rb +1 -11
- data/lib/chef/application/solo.rb +3 -9
- data/lib/chef/application/windows_service.rb +2 -9
- data/lib/chef/config.rb +3 -0
- data/lib/chef/node.rb +1 -1
- data/lib/chef/node/attribute.rb +18 -1
- data/lib/chef/version.rb +1 -1
- data/spec/unit/application/solo_spec.rb +2 -2
- metadata +4 -4
@@ -105,20 +105,20 @@ 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
|
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
|
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>
|
116
116
|
|
117
|
-
<p> Knife is distributed with Chef. <a
|
117
|
+
<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>
|
118
118
|
|
119
119
|
|
120
120
|
<ol class='man-decor man-foot man foot'>
|
121
|
-
<li class='tl'>Chef 10.16.0.rc.
|
121
|
+
<li class='tl'>Chef 10.16.0.rc.1</li>
|
122
122
|
<li class='tc'>October 2012</li>
|
123
123
|
<li class='tr'>knife-status(1)</li>
|
124
124
|
</ol>
|
@@ -114,20 +114,20 @@
|
|
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 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 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>
|
125
125
|
|
126
|
-
<p> Knife is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home"
|
126
|
+
<p> Knife is distributed with Chef. <a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Home">http://wiki.opscode.com/display/chef/Home</a></p>
|
127
127
|
|
128
128
|
|
129
129
|
<ol class='man-decor man-foot man foot'>
|
130
|
-
<li class='tl'>Chef 10.16.0.rc.
|
130
|
+
<li class='tl'>Chef 10.16.0.rc.1</li>
|
131
131
|
<li class='tc'>October 2012</li>
|
132
132
|
<li class='tr'>knife-tag(1)</li>
|
133
133
|
</ol>
|
@@ -279,38 +279,38 @@ data editing entirely.</dd>
|
|
279
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
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
281
|
|
282
|
-
<p> Complete Chef documentation is available online: <a
|
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
283
|
|
284
|
-
<p> JSON is JavaScript Object Notation <a
|
284
|
+
<p> JSON is JavaScript Object Notation <a href="http://json.org/" data-bare-link="true">http://json.org/</a></p>
|
285
285
|
|
286
|
-
<p> SOLR is an open source search engine. <a
|
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
287
|
|
288
|
-
<p> <strong><span class="man-ref">git<span class="s">(1)</span></span></strong> is a version control system <a
|
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
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
|
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
291
|
|
292
292
|
<h2 id="AUTHOR">AUTHOR</h2>
|
293
293
|
|
294
|
-
<p> Chef was written by Adam Jacob <a
|
295
|
-
(<a
|
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
296
|
|
297
297
|
<h2 id="DOCUMENTATION">DOCUMENTATION</h2>
|
298
298
|
|
299
|
-
<p> This manual page was written by Joshua Timberman <a
|
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
300
|
|
301
301
|
<h2 id="LICENSE">LICENSE</h2>
|
302
302
|
|
303
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
|
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
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
306
|
|
307
307
|
<h2 id="CHEF">CHEF</h2>
|
308
308
|
|
309
|
-
<p> Knife is distributed with Chef. <a
|
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
310
|
|
311
311
|
|
312
312
|
<ol class='man-decor man-foot man foot'>
|
313
|
-
<li class='tl'>Chef 10.16.0.rc.
|
313
|
+
<li class='tl'>Chef 10.16.0.rc.1</li>
|
314
314
|
<li class='tc'>October 2012</li>
|
315
315
|
<li class='tr'>knife(1)</li>
|
316
316
|
</ol>
|
@@ -205,8 +205,8 @@ DSL is outside the scope of this document. See the following pages in
|
|
205
205
|
the Chef documentation for more information:</p>
|
206
206
|
|
207
207
|
<ul>
|
208
|
-
<li><a href="http://wiki.opscode.com/display/chef/Resources"
|
209
|
-
<li><a href="http://wiki.opscode.com/display/chef/Recipes"
|
208
|
+
<li><a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Resources">http://wiki.opscode.com/display/chef/Resources</a></li>
|
209
|
+
<li><a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Recipes">http://wiki.opscode.com/display/chef/Recipes</a></li>
|
210
210
|
</ul>
|
211
211
|
|
212
212
|
|
@@ -254,26 +254,26 @@ and may become out of sync with the behavior of those libraries.</p>
|
|
254
254
|
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
255
255
|
|
256
256
|
<p> <span class="man-ref">chef-client<span class="s">(8)</span></span> <span class="man-ref">knife<span class="s">(1)</span></span>
|
257
|
-
<a href="http://wiki.opscode.com/display/chef/Shef"
|
257
|
+
<a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Shef">http://wiki.opscode.com/display/chef/Shef</a></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 data-bare-link="true" href="mailto:adam@opscode.com">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 data-bare-link="true" href="mailto:dan@opscode.com">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
|
|
270
270
|
<h2 id="CHEF">CHEF</h2>
|
271
271
|
|
272
|
-
<p> Shef is distributed with Chef. <a href="http://wiki.opscode.com/display/chef/Home"
|
272
|
+
<p> Shef is distributed with Chef. <a data-bare-link="true" href="http://wiki.opscode.com/display/chef/Home">http://wiki.opscode.com/display/chef/Home</a></p>
|
273
273
|
|
274
274
|
|
275
275
|
<ol class='man-decor man-foot man foot'>
|
276
|
-
<li class='tl'>Chef 10.16.0.rc.
|
276
|
+
<li class='tl'>Chef 10.16.0.rc.1</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.0.rc.
|
4
|
+
.TH "KNIFE\-BOOTSTRAP" "1" "October 2012" "Chef 10.16.0.rc.1" "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.0.rc.
|
4
|
+
.TH "KNIFE\-CLIENT" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-CONFIGURE" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-COOKBOOK\-SITE" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-cookbook\-site\fR \- Install and update open source 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\-COOKBOOK" "1" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-COOKBOOK" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-DATA\-BAG" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-ENVIRONMENT" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-EXEC" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-INDEX" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-NODE" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-node\fR \- Manage the hosts 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\-ROLE" "1" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-ROLE" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-SEARCH" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-SSH" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-ssh\fR \- Run a command or interactive session on multiple remote hosts
|
@@ -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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-STATUS" "1" "October 2012" "Chef 10.16.0.rc.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" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE\-TAG" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\-tag\fR \- Apply tags to nodes on a Chef Server
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "KNIFE" "1" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "KNIFE" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBknife\fR \- Chef Server API client utility
|
@@ -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 "SHEF" "1" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "SHEF" "1" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBshef\fR \- Interactive Chef Console
|
@@ -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 "CHEF\-CLIENT" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-CLIENT" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-client\fR \- Runs a client node connecting to 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 "CHEF\-EXPANDER" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-EXPANDER" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-expander\fR \- fetches messages from RabbitMQ, processes, and loads into chef\-solr
|
@@ -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 "CHEF\-EXPANDERCTL" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-EXPANDERCTL" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-expanderctl\fR \- management program for chef\-expander
|
@@ -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 "CHEF\-SERVER\-WEBUI" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-SERVER\-WEBUI" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-server\-webui\fR \- Start the Chef Server merb application slice providing Web User Interface (Management Console)\.
|
@@ -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 "CHEF\-SERVER" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-SERVER" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-server\fR \- Start the Chef Server merb application slice\.
|
@@ -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 "CHEF\-SOLO" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-SOLO" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-solo\fR \- Runs chef in solo mode against a specified cookbook location\.
|
@@ -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 "CHEF\-SOLR" "8" "October 2012" "Chef 10.16.0.rc.
|
4
|
+
.TH "CHEF\-SOLR" "8" "October 2012" "Chef 10.16.0.rc.1" "Chef Manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBchef\-solr\fR \- Runs as Chef\'s search server
|
data/lib/chef/application.rb
CHANGED
@@ -34,6 +34,8 @@ class Chef::Application
|
|
34
34
|
def initialize
|
35
35
|
super
|
36
36
|
|
37
|
+
@chef_client = nil
|
38
|
+
@chef_client_json = nil
|
37
39
|
trap("TERM") do
|
38
40
|
Chef::Application.fatal!("SIGTERM received, stopping", 1)
|
39
41
|
end
|
@@ -127,6 +129,18 @@ class Chef::Application
|
|
127
129
|
raise Chef::Exceptions::Application, "#{self.to_s}: you must override run_application"
|
128
130
|
end
|
129
131
|
|
132
|
+
# Initializes Chef::Client instance and runs it
|
133
|
+
def run_chef_client
|
134
|
+
@chef_client = Chef::Client.new(
|
135
|
+
@chef_client_json,
|
136
|
+
:override_runlist => config[:override_runlist]
|
137
|
+
)
|
138
|
+
@chef_client_json = nil
|
139
|
+
|
140
|
+
@chef_client.run
|
141
|
+
@chef_client = nil
|
142
|
+
end
|
143
|
+
|
130
144
|
private
|
131
145
|
|
132
146
|
def apply_config(config_file_path)
|
@@ -134,7 +148,6 @@ class Chef::Application
|
|
134
148
|
Chef::Config.merge!(config)
|
135
149
|
end
|
136
150
|
|
137
|
-
|
138
151
|
class << self
|
139
152
|
def debug_stacktrace(e)
|
140
153
|
message = "#{e.class}: #{e}\n#{e.backtrace.join("\n")}"
|
@@ -186,9 +186,6 @@ class Chef::Application::Client < Chef::Application
|
|
186
186
|
|
187
187
|
def initialize
|
188
188
|
super
|
189
|
-
|
190
|
-
@chef_client = nil
|
191
|
-
@chef_client_json = nil
|
192
189
|
end
|
193
190
|
|
194
191
|
# Reconfigure the chef client
|
@@ -274,14 +271,7 @@ class Chef::Application::Client < Chef::Application
|
|
274
271
|
Chef::Log.debug("Splay sleep #{splay} seconds")
|
275
272
|
sleep splay
|
276
273
|
end
|
277
|
-
|
278
|
-
@chef_client_json,
|
279
|
-
:override_runlist => config[:override_runlist]
|
280
|
-
)
|
281
|
-
@chef_client_json = nil
|
282
|
-
|
283
|
-
@chef_client.run
|
284
|
-
@chef_client = nil
|
274
|
+
run_chef_client
|
285
275
|
if Chef::Config[:interval]
|
286
276
|
Chef::Log.debug("Sleeping for #{Chef::Config[:interval]} seconds")
|
287
277
|
unless SELF_PIPE.empty?
|
@@ -149,8 +149,6 @@ class Chef::Application::Solo < Chef::Application
|
|
149
149
|
|
150
150
|
def initialize
|
151
151
|
super
|
152
|
-
@chef_solo = nil
|
153
|
-
@chef_solo_json = nil
|
154
152
|
end
|
155
153
|
|
156
154
|
def reconfigure
|
@@ -182,7 +180,7 @@ class Chef::Application::Solo < Chef::Application
|
|
182
180
|
end
|
183
181
|
|
184
182
|
begin
|
185
|
-
@
|
183
|
+
@chef_client_json = Chef::JSONCompat.from_json(json_io.read)
|
186
184
|
json_io.close unless json_io.closed?
|
187
185
|
rescue JSON::ParserError => error
|
188
186
|
Chef::Application.fatal!("Could not parse the provided JSON file (#{Chef::Config[:json_attribs]})!: " + error.message, 2)
|
@@ -223,12 +221,7 @@ class Chef::Application::Solo < Chef::Application
|
|
223
221
|
sleep splay
|
224
222
|
end
|
225
223
|
|
226
|
-
|
227
|
-
@chef_solo_json,
|
228
|
-
:override_runlist => config[:override_runlist]
|
229
|
-
)
|
230
|
-
@chef_solo.run
|
231
|
-
@chef_solo = nil
|
224
|
+
run_chef_client
|
232
225
|
if Chef::Config[:interval]
|
233
226
|
Chef::Log.debug("Sleeping for #{Chef::Config[:interval]} seconds")
|
234
227
|
sleep Chef::Config[:interval]
|
@@ -251,4 +244,5 @@ class Chef::Application::Solo < Chef::Application
|
|
251
244
|
end
|
252
245
|
end
|
253
246
|
end
|
247
|
+
|
254
248
|
end
|