chef 10.24.4 → 10.26.0.beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/distro/common/html/chef-client.8.html +3 -3
  2. data/distro/common/html/chef-expander.8.html +3 -3
  3. data/distro/common/html/chef-expanderctl.8.html +3 -3
  4. data/distro/common/html/chef-server-webui.8.html +3 -3
  5. data/distro/common/html/chef-server.8.html +3 -3
  6. data/distro/common/html/chef-solo.8.html +3 -3
  7. data/distro/common/html/chef-solr.8.html +3 -3
  8. data/distro/common/html/knife-bootstrap.1.html +3 -3
  9. data/distro/common/html/knife-client.1.html +3 -3
  10. data/distro/common/html/knife-configure.1.html +3 -3
  11. data/distro/common/html/knife-cookbook-site.1.html +3 -3
  12. data/distro/common/html/knife-cookbook.1.html +3 -3
  13. data/distro/common/html/knife-data-bag.1.html +3 -3
  14. data/distro/common/html/knife-environment.1.html +3 -3
  15. data/distro/common/html/knife-exec.1.html +3 -3
  16. data/distro/common/html/knife-index.1.html +3 -3
  17. data/distro/common/html/knife-node.1.html +3 -3
  18. data/distro/common/html/knife-role.1.html +3 -3
  19. data/distro/common/html/knife-search.1.html +3 -3
  20. data/distro/common/html/knife-ssh.1.html +3 -3
  21. data/distro/common/html/knife-status.1.html +3 -3
  22. data/distro/common/html/knife-tag.1.html +3 -3
  23. data/distro/common/html/knife.1.html +3 -3
  24. data/distro/common/html/shef.1.html +3 -3
  25. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  26. data/distro/common/man/man1/knife-client.1 +1 -1
  27. data/distro/common/man/man1/knife-configure.1 +1 -1
  28. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  29. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  30. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  31. data/distro/common/man/man1/knife-environment.1 +1 -1
  32. data/distro/common/man/man1/knife-exec.1 +1 -1
  33. data/distro/common/man/man1/knife-index.1 +1 -1
  34. data/distro/common/man/man1/knife-node.1 +1 -1
  35. data/distro/common/man/man1/knife-role.1 +1 -1
  36. data/distro/common/man/man1/knife-search.1 +1 -1
  37. data/distro/common/man/man1/knife-ssh.1 +1 -1
  38. data/distro/common/man/man1/knife-status.1 +1 -1
  39. data/distro/common/man/man1/knife-tag.1 +1 -1
  40. data/distro/common/man/man1/knife.1 +1 -1
  41. data/distro/common/man/man1/shef.1 +1 -1
  42. data/distro/common/man/man8/chef-client.8 +1 -1
  43. data/distro/common/man/man8/chef-expander.8 +1 -1
  44. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  45. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  46. data/distro/common/man/man8/chef-server.8 +1 -1
  47. data/distro/common/man/man8/chef-solo.8 +1 -1
  48. data/distro/common/man/man8/chef-solr.8 +1 -1
  49. data/lib/chef/application.rb +0 -7
  50. data/lib/chef/application/client.rb +8 -3
  51. data/lib/chef/application/windows_service.rb +1 -4
  52. data/lib/chef/client.rb +1 -1
  53. data/lib/chef/cookbook_uploader.rb +10 -1
  54. data/lib/chef/knife/cookbook_upload.rb +3 -9
  55. data/lib/chef/platform.rb +18 -5
  56. data/lib/chef/provider/user/solaris.rb +90 -0
  57. data/lib/chef/provider/user/useradd.rb +38 -29
  58. data/lib/chef/providers.rb +1 -0
  59. data/lib/chef/resource.rb +10 -1
  60. data/lib/chef/shef/shef_session.rb +2 -2
  61. data/lib/chef/version.rb +1 -1
  62. data/spec/unit/application/client_spec.rb +36 -1
  63. data/spec/unit/knife/cookbook_upload_spec.rb +9 -5
  64. data/spec/unit/platform_spec.rb +2 -1
  65. data/spec/unit/provider/user/solaris_spec.rb +414 -0
  66. data/spec/unit/provider/user/useradd_spec.rb +1 -1
  67. data/spec/unit/shef/shef_session_spec.rb +16 -3
  68. metadata +7 -5
@@ -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="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x61;&#100;&#97;&#109;&#64;&#111;&#112;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#x6d;</a> with many contributions from the community.</p>
108
+ <p> Chef was written by Adam Jacob <a href="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#x64;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#99;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#x40;&#x6f;&#112;&#115;&#99;&#111;&#x64;&#x65;&#46;&#99;&#111;&#x6d;</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="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#106;&#x6f;&#115;&#104;&#117;&#x61;&#64;&#111;&#112;&#115;&#99;&#x6f;&#100;&#101;&#46;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#111;&#115;&#x68;&#x75;&#x61;&#x40;&#111;&#112;&#x73;&#x63;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>.
112
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#x6a;&#x6f;&#115;&#104;&#117;&#97;&#x40;&#x6f;&#x70;&#x73;&#x63;&#x6f;&#100;&#x65;&#x2e;&#x63;&#x6f;&#109;" data-bare-link="true">&#106;&#111;&#115;&#104;&#117;&#x61;&#x40;&#x6f;&#112;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#99;&#x6f;&#109;</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.24.4</li>
121
+ <li class='tl'>Chef 10.26.0.beta.0</li>
122
122
  <li class='tc'>April 2013</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 href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x61;&#100;&#97;&#109;&#64;&#111;&#112;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#x6d;</a> with many contributions from the community.</p>
117
+ <p> Chef was written by Adam Jacob <a href="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#x64;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#99;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#x40;&#x6f;&#112;&#115;&#99;&#111;&#x64;&#x65;&#46;&#99;&#111;&#x6d;</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="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#100;&#x61;&#110;&#64;&#111;&#x70;&#115;&#99;&#111;&#100;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#100;&#x61;&#110;&#x40;&#111;&#112;&#x73;&#x63;&#x6f;&#x64;&#101;&#46;&#x63;&#x6f;&#109;</a>.
121
+ <p> This manual page was written by Daniel DeLeo <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#x64;&#x61;&#110;&#64;&#111;&#112;&#x73;&#x63;&#x6f;&#x64;&#x65;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x64;&#x61;&#110;&#64;&#111;&#112;&#115;&#99;&#x6f;&#x64;&#x65;&#46;&#x63;&#111;&#x6d;</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.24.4</li>
130
+ <li class='tl'>Chef 10.26.0.beta.0</li>
131
131
  <li class='tc'>April 2013</li>
132
132
  <li class='tr'>knife-tag(1)</li>
133
133
  </ol>
@@ -291,12 +291,12 @@ data editing entirely.</dd>
291
291
 
292
292
  <h2 id="AUTHOR">AUTHOR</h2>
293
293
 
294
- <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x61;&#100;&#97;&#109;&#64;&#111;&#112;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#x6d;</a> of Opscode
294
+ <p> Chef was written by Adam Jacob <a href="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#x64;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#99;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#x40;&#x6f;&#112;&#115;&#99;&#111;&#x64;&#x65;&#46;&#99;&#111;&#x6d;</a> of Opscode
295
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 href="&#109;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#106;&#x6f;&#115;&#104;&#117;&#x61;&#64;&#111;&#112;&#115;&#99;&#x6f;&#100;&#101;&#46;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#111;&#115;&#x68;&#x75;&#x61;&#x40;&#111;&#112;&#x73;&#x63;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>.</p>
299
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#x6a;&#x6f;&#115;&#104;&#117;&#97;&#x40;&#x6f;&#x70;&#x73;&#x63;&#x6f;&#100;&#x65;&#x2e;&#x63;&#x6f;&#109;" data-bare-link="true">&#106;&#111;&#115;&#104;&#117;&#x61;&#x40;&#x6f;&#112;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#99;&#x6f;&#109;</a>.</p>
300
300
 
301
301
  <h2 id="LICENSE">LICENSE</h2>
302
302
 
@@ -310,7 +310,7 @@ data editing entirely.</dd>
310
310
 
311
311
 
312
312
  <ol class='man-decor man-foot man foot'>
313
- <li class='tl'>Chef 10.24.4</li>
313
+ <li class='tl'>Chef 10.26.0.beta.0</li>
314
314
  <li class='tc'>April 2013</li>
315
315
  <li class='tr'>knife(1)</li>
316
316
  </ol>
@@ -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="&#x6d;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#x61;&#100;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#x63;&#x6f;&#100;&#101;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#x64;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#111;&#109;</a> with many
261
+ <p> Chef was written by Adam Jacob <a href="&#109;&#97;&#105;&#108;&#116;&#x6f;&#58;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6f;&#x70;&#x73;&#99;&#111;&#100;&#101;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#97;&#109;&#x40;&#111;&#x70;&#115;&#99;&#x6f;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;</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="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#x3a;&#x64;&#97;&#x6e;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#100;&#x65;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#x64;&#x61;&#110;&#64;&#111;&#x70;&#115;&#99;&#x6f;&#100;&#101;&#x2e;&#x63;&#111;&#109;</a>.
266
+ <p> This manual page was written by Daniel DeLeo <a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x64;&#x61;&#110;&#64;&#111;&#x70;&#115;&#99;&#111;&#x64;&#101;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#x64;&#x61;&#110;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#x65;&#x2e;&#99;&#111;&#109;</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.24.4</li>
276
+ <li class='tl'>Chef 10.26.0.beta.0</li>
277
277
  <li class='tc'>April 2013</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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-BOOTSTRAP" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "KNIFE" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "SHEF" "1" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "April 2013" "Chef 10.26.0.beta.0" "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" "April 2013" "Chef 10.24.4" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "April 2013" "Chef 10.26.0.beta.0" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -28,18 +28,11 @@ require 'rbconfig'
28
28
  class Chef::Application
29
29
  include Mixlib::CLI
30
30
 
31
- class Wakeup < Exception
32
- end
33
-
34
31
  def initialize
35
32
  super
36
33
 
37
34
  @chef_client = nil
38
35
  @chef_client_json = nil
39
- trap("TERM") do
40
- Chef::Application.fatal!("SIGTERM received, stopping", 1)
41
- end
42
-
43
36
  trap("INT") do
44
37
  Chef::Application.fatal!("SIGINT received, stopping", 2)
45
38
  end
@@ -186,6 +186,7 @@ class Chef::Application::Client < Chef::Application
186
186
 
187
187
  def initialize
188
188
  super
189
+ @exit_gracefully = false
189
190
  end
190
191
 
191
192
  # Reconfigure the chef client
@@ -254,6 +255,12 @@ class Chef::Application::Client < Chef::Application
254
255
  Chef::Log.info("SIGUSR1 received, waking up")
255
256
  SELF_PIPE[1].putc('.') # wakeup master process from select
256
257
  end
258
+
259
+ trap("TERM") do
260
+ Chef::Log.info("SIGTERM received, exiting gracefully")
261
+ @exit_gracefully = true
262
+ SELF_PIPE[1].putc('.')
263
+ end
257
264
  end
258
265
 
259
266
  if Chef::Config[:version]
@@ -266,6 +273,7 @@ class Chef::Application::Client < Chef::Application
266
273
 
267
274
  loop do
268
275
  begin
276
+ Chef::Application.exit!("Exiting", 0) if @exit_gracefully
269
277
  if Chef::Config[:splay]
270
278
  splay = rand Chef::Config[:splay]
271
279
  Chef::Log.debug("Splay sleep #{splay} seconds")
@@ -283,9 +291,6 @@ class Chef::Application::Client < Chef::Application
283
291
  else
284
292
  Chef::Application.exit! "Exiting", 0
285
293
  end
286
- rescue Chef::Application::Wakeup => e
287
- Chef::Log.debug("Received Wakeup signal. Starting run.")
288
- next
289
294
  rescue SystemExit => e
290
295
  raise
291
296
  rescue Exception => e
@@ -92,9 +92,6 @@ class Chef
92
92
 
93
93
  Chef::Log.debug("Sleeping for #{Chef::Config[:interval]} seconds")
94
94
  client_sleep Chef::Config[:interval]
95
- rescue Chef::Application::Wakeup => e
96
- Chef::Log.debug("Received Wakeup signal. Starting run.")
97
- next
98
95
  rescue SystemExit => e
99
96
  raise
100
97
  rescue Exception => e
@@ -218,7 +215,7 @@ class Chef
218
215
  sleep chunk_length
219
216
  end
220
217
  end
221
-
218
+
222
219
  end
223
220
  end
224
221
  end
@@ -205,7 +205,7 @@ class Chef
205
205
  Chef::Log.debug("Saving the current state of node #{node_name}")
206
206
  if(@original_runlist)
207
207
  @node.run_list(*@original_runlist)
208
- @node[:runlist_override_history] = {Time.now.to_i => @override_runlist.inspect}
208
+ @node.set[:runlist_override_history] = {Time.now.to_i => @override_runlist.inspect}
209
209
  end
210
210
  @node.save
211
211
  end
@@ -110,7 +110,16 @@ class Chef
110
110
  # files are uploaded, so save the manifest
111
111
  cookbooks.each do |cb|
112
112
  save_url = opts[:force] ? cb.force_save_url : cb.save_url
113
- rest.put_rest(save_url, cb)
113
+ begin
114
+ rest.put_rest(save_url, cb)
115
+ rescue Net::HTTPServerException => e
116
+ case e.response.code
117
+ when "409"
118
+ raise Chef::Exceptions::CookbookFrozen, "Version #{cb.version} of cookbook #{cb.name} is frozen. Use --force to override."
119
+ else
120
+ raise
121
+ end
122
+ end
114
123
  end
115
124
 
116
125
  Chef::Log.info("Upload complete!")
@@ -229,15 +229,9 @@ WARNING
229
229
  check_for_dependencies!(cb)
230
230
  end
231
231
  Chef::CookbookUploader.new(cookbooks, config[:cookbook_path], :force => config[:force]).upload_cookbooks
232
- rescue Net::HTTPServerException => e
233
- case e.response.code
234
- when "409"
235
- ui.error "Version #{cookbook.version} of cookbook #{cookbook.name} is frozen. Use --force to override."
236
- Log.debug(e)
237
- raise Exceptions::CookbookFrozen
238
- else
239
- raise
240
- end
232
+ rescue Chef::Exceptions::CookbookFrozen => e
233
+ ui.error e
234
+ raise
241
235
  end
242
236
 
243
237
  def check_for_broken_links!(cookbook)