chef 0.10.10.rc.2 → 0.10.10.rc.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/distro/common/html/chef-client.8.html +4 -4
  2. data/distro/common/html/chef-expander.8.html +4 -4
  3. data/distro/common/html/chef-expanderctl.8.html +4 -4
  4. data/distro/common/html/chef-server-webui.8.html +4 -4
  5. data/distro/common/html/chef-server.8.html +4 -4
  6. data/distro/common/html/chef-solo.8.html +4 -4
  7. data/distro/common/html/chef-solr.8.html +4 -4
  8. data/distro/common/html/knife-bootstrap.1.html +4 -4
  9. data/distro/common/html/knife-client.1.html +4 -4
  10. data/distro/common/html/knife-configure.1.html +4 -4
  11. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  12. data/distro/common/html/knife-cookbook.1.html +4 -4
  13. data/distro/common/html/knife-data-bag.1.html +4 -4
  14. data/distro/common/html/knife-environment.1.html +4 -4
  15. data/distro/common/html/knife-exec.1.html +4 -4
  16. data/distro/common/html/knife-index.1.html +4 -4
  17. data/distro/common/html/knife-node.1.html +4 -4
  18. data/distro/common/html/knife-role.1.html +4 -4
  19. data/distro/common/html/knife-search.1.html +4 -4
  20. data/distro/common/html/knife-ssh.1.html +4 -4
  21. data/distro/common/html/knife-status.1.html +4 -4
  22. data/distro/common/html/knife-tag.1.html +4 -4
  23. data/distro/common/html/knife.1.html +4 -4
  24. data/distro/common/html/shef.1.html +4 -4
  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/config.rb +2 -1
  50. data/lib/chef/knife/bootstrap/ubuntu12.04-gems.erb +45 -0
  51. data/lib/chef/knife/core/node_editor.rb +5 -2
  52. data/lib/chef/provider/route.rb +35 -12
  53. data/lib/chef/provider/user/useradd.rb +2 -1
  54. data/lib/chef/version.rb +1 -1
  55. metadata +5 -4
@@ -133,11 +133,11 @@ option.</dd>
133
133
 
134
134
  <h2 id="AUTHOR">AUTHOR</h2>
135
135
 
136
- <p> Chef was written by Adam Jacob <a href="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#x61;&#x64;&#x61;&#x6d;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#100;&#101;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#64;&#111;&#x70;&#x73;&#99;&#x6f;&#100;&#101;&#x2e;&#x63;&#111;&#109;</a> with many contributions from the community.</p>
136
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#97;&#100;&#97;&#x6d;&#64;&#111;&#x70;&#x73;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#115;&#x63;&#x6f;&#x64;&#101;&#46;&#x63;&#x6f;&#109;</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="&#109;&#97;&#x69;&#108;&#116;&#x6f;&#58;&#106;&#111;&#115;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#115;&#x63;&#x6f;&#100;&#x65;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x6a;&#111;&#115;&#x68;&#x75;&#97;&#x40;&#x6f;&#112;&#115;&#x63;&#x6f;&#100;&#x65;&#46;&#99;&#111;&#109;</a>.
140
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#x61;&#x69;&#108;&#x74;&#111;&#x3a;&#x6a;&#x6f;&#115;&#104;&#117;&#x61;&#64;&#111;&#x70;&#x73;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#109;" data-bare-link="true">&#x6a;&#x6f;&#115;&#104;&#x75;&#97;&#x40;&#111;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#99;&#111;&#109;</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 0.10.10.rc.2</li>
150
- <li class='tc'>April 2012</li>
149
+ <li class='tl'>Chef 0.10.10.rc.3</li>
150
+ <li class='tc'>May 2012</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="&#x6d;&#x61;&#105;&#108;&#x74;&#111;&#58;&#97;&#100;&#x61;&#x6d;&#64;&#x6f;&#x70;&#x73;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#x6f;&#109;</a> with many contributions from the community.</p>
108
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#x6f;&#x3a;&#x61;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#x73;&#99;&#x6f;&#100;&#101;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#x64;&#97;&#109;&#64;&#x6f;&#112;&#x73;&#x63;&#x6f;&#100;&#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="&#x6d;&#x61;&#105;&#x6c;&#116;&#x6f;&#58;&#x6a;&#x6f;&#115;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#115;&#x63;&#x6f;&#100;&#x65;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#x68;&#117;&#x61;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#100;&#x65;&#46;&#99;&#111;&#109;</a>.
112
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#105;&#x6c;&#116;&#111;&#58;&#106;&#x6f;&#x73;&#x68;&#x75;&#x61;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#x64;&#x65;&#x2e;&#99;&#111;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#x68;&#x75;&#97;&#x40;&#x6f;&#x70;&#115;&#x63;&#x6f;&#x64;&#101;&#46;&#99;&#x6f;&#x6d;</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.10.rc.2</li>
122
- <li class='tc'>April 2012</li>
121
+ <li class='tl'>Chef 0.10.10.rc.3</li>
122
+ <li class='tc'>May 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="&#x6d;&#x61;&#105;&#x6c;&#116;&#111;&#x3a;&#x61;&#x64;&#97;&#109;&#x40;&#x6f;&#112;&#115;&#x63;&#111;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#109;" data-bare-link="true">&#97;&#100;&#x61;&#109;&#x40;&#111;&#112;&#x73;&#x63;&#111;&#x64;&#101;&#46;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
117
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#58;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#112;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#x61;&#100;&#x61;&#109;&#64;&#x6f;&#112;&#115;&#x63;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#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;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#100;&#x61;&#x6e;&#x40;&#111;&#112;&#115;&#99;&#x6f;&#x64;&#x65;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x64;&#97;&#110;&#64;&#x6f;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;</a>.
121
+ <p> This manual page was written by Daniel DeLeo <a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#x3a;&#100;&#x61;&#110;&#64;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#101;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x64;&#x61;&#110;&#64;&#111;&#x70;&#x73;&#99;&#111;&#100;&#x65;&#x2e;&#99;&#x6f;&#109;</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.10.rc.2</li>
131
- <li class='tc'>April 2012</li>
130
+ <li class='tl'>Chef 0.10.10.rc.3</li>
131
+ <li class='tc'>May 2012</li>
132
132
  <li class='tr'>knife-tag(1)</li>
133
133
  </ol>
134
134
 
@@ -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;&#x61;&#105;&#108;&#x74;&#111;&#58;&#97;&#100;&#x61;&#x6d;&#64;&#x6f;&#x70;&#x73;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#x6f;&#109;</a> of Opscode
294
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#x3a;&#97;&#x64;&#97;&#109;&#x40;&#x6f;&#112;&#x73;&#x63;&#111;&#x64;&#x65;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6f;&#112;&#115;&#x63;&#111;&#x64;&#x65;&#x2e;&#x63;&#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="&#x6d;&#x61;&#105;&#x6c;&#116;&#x6f;&#58;&#x6a;&#x6f;&#115;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#115;&#x63;&#x6f;&#100;&#x65;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#x68;&#117;&#x61;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#100;&#x65;&#46;&#99;&#111;&#109;</a>.</p>
299
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#x6a;&#x6f;&#115;&#104;&#117;&#97;&#64;&#111;&#x70;&#x73;&#x63;&#111;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#106;&#x6f;&#115;&#x68;&#x75;&#x61;&#64;&#111;&#112;&#x73;&#x63;&#x6f;&#100;&#101;&#46;&#99;&#x6f;&#x6d;</a>.</p>
300
300
 
301
301
  <h2 id="LICENSE">LICENSE</h2>
302
302
 
@@ -310,8 +310,8 @@ data editing entirely.</dd>
310
310
 
311
311
 
312
312
  <ol class='man-decor man-foot man foot'>
313
- <li class='tl'>Chef 0.10.10.rc.2</li>
314
- <li class='tc'>April 2012</li>
313
+ <li class='tl'>Chef 0.10.10.rc.3</li>
314
+ <li class='tc'>May 2012</li>
315
315
  <li class='tr'>knife(1)</li>
316
316
  </ol>
317
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="&#109;&#x61;&#105;&#x6c;&#116;&#x6f;&#58;&#97;&#100;&#97;&#109;&#x40;&#x6f;&#112;&#115;&#99;&#111;&#100;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#x61;&#100;&#x61;&#x6d;&#x40;&#111;&#112;&#115;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#111;&#109;</a> with many
261
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#105;&#x6c;&#116;&#111;&#x3a;&#97;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#x63;&#111;&#x6d;" data-bare-link="true">&#97;&#100;&#x61;&#x6d;&#x40;&#111;&#x70;&#x73;&#99;&#x6f;&#x64;&#x65;&#x2e;&#99;&#111;&#x6d;</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="&#x6d;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x64;&#x61;&#110;&#x40;&#111;&#112;&#115;&#99;&#111;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x64;&#x61;&#110;&#x40;&#x6f;&#112;&#x73;&#x63;&#x6f;&#100;&#x65;&#46;&#x63;&#111;&#x6d;</a>.
266
+ <p> This manual page was written by Daniel DeLeo <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#111;&#x3a;&#100;&#97;&#110;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#100;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#x64;&#97;&#x6e;&#64;&#111;&#112;&#115;&#99;&#x6f;&#x64;&#x65;&#46;&#99;&#x6f;&#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,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.10.rc.2</li>
277
- <li class='tc'>April 2012</li>
276
+ <li class='tl'>Chef 0.10.10.rc.3</li>
277
+ <li class='tc'>May 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" "April 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-BOOTSTRAP" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "KNIFE" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "SHEF" "1" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "May 2012" "Chef 0.10.10.rc.3" "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 2012" "Chef 0.10.10.rc.2" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "May 2012" "Chef 0.10.10.rc.3" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -272,6 +272,7 @@ class Chef
272
272
  end
273
273
 
274
274
  # returns a platform specific path to the user home dir
275
- user_home (ENV['HOME'] || ENV['SYSTEMDRIVE'] + ENV['HOMEPATH'] || ENV['USERPROFILE'])
275
+ windows_home_path = ENV['SYSTEMDRIVE'] + ENV['HOMEPATH'] if ENV['SYSTEMDRIVE'] && ENV['HOMEPATH']
276
+ user_home (ENV['HOME'] || windows_home_path || ENV['USERPROFILE'])
276
277
  end
277
278
  end
@@ -0,0 +1,45 @@
1
+ bash -c '
2
+ <%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%>
3
+
4
+ if [ ! -f /usr/bin/chef-client ]; then
5
+ aptitude update
6
+ aptitude install -y ruby ruby1.8-dev build-essential wget libruby1.8 rubygems
7
+ fi
8
+
9
+ gem update --no-rdoc --no-ri
10
+ gem install ohai --no-rdoc --no-ri --verbose
11
+ gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %>
12
+
13
+ mkdir -p /etc/chef
14
+
15
+ (
16
+ cat <<'EOP'
17
+ <%= validation_key %>
18
+ EOP
19
+ ) > /tmp/validation.pem
20
+ awk NF /tmp/validation.pem > /etc/chef/validation.pem
21
+ rm /tmp/validation.pem
22
+
23
+ <% if @chef_config[:encrypted_data_bag_secret] -%>
24
+ (
25
+ cat <<'EOP'
26
+ <%= encrypted_data_bag_secret %>
27
+ EOP
28
+ ) > /tmp/encrypted_data_bag_secret
29
+ awk NF /tmp/encrypted_data_bag_secret > /etc/chef/encrypted_data_bag_secret
30
+ rm /tmp/encrypted_data_bag_secret
31
+ <% end -%>
32
+
33
+ (
34
+ cat <<'EOP'
35
+ <%= config_content %>
36
+ EOP
37
+ ) > /etc/chef/client.rb
38
+
39
+ (
40
+ cat <<'EOP'
41
+ <%= { "run_list" => @run_list }.to_json %>
42
+ EOP
43
+ ) > /etc/chef/first-boot.json
44
+
45
+ <%= start_chef %>'
@@ -61,8 +61,11 @@ class Chef
61
61
  end
62
62
 
63
63
  def apply_updates(updated_data)
64
- # TODO: should warn/error/ask for confirmation when changing the
65
- # name, since this results in a new node, not an edited node.
64
+ if node.name and node.name != updated_data["name"]
65
+ ui.warn "Changing the name of a node results in a new node being created, #{node.name} will not be modified or removed."
66
+ confirm = ui.confirm "Proceed with creation of new node"
67
+ end
68
+
66
69
  @updated_node = Node.new.tap do |n|
67
70
  n.name( updated_data["name"] )
68
71
  n.chef_environment( updated_data["chef_environment"] )
@@ -60,8 +60,28 @@ class Chef::Provider::Route < Chef::Provider
60
60
  '255.255.255.254' => '31',
61
61
  '255.255.255.255' => '32' }
62
62
 
63
+ def hex2ip(hex_data)
64
+ # Cleanup hex data
65
+ hex_ip = hex_data.to_s.downcase.gsub(/[^0-9a-f]/, '')
66
+
67
+ # Check hex data format (IP is a 32bit integer, so should be 8 chars long)
68
+ return nil if hex_ip.length != hex_data.length || hex_ip.length != 8
69
+
70
+ # Extract octets from hex data
71
+ octets = hex_ip.scan(/../).reverse.collect { |octet| [octet].pack('H2').unpack("C").first }
72
+
73
+ # Validate IP
74
+ ip = octets.join('.')
75
+ begin
76
+ IPAddr.new(ip, Socket::AF_INET).to_s
77
+ rescue ArgumentError
78
+ Chef::Log.debug("Invalid IP address data: hex=#{hex_ip}, ip=#{ip}")
79
+ return nil
80
+ end
81
+ end
82
+
63
83
  def load_current_resource
64
- is_running = nil
84
+ self.is_running = false
65
85
 
66
86
  # cidr or quad dot mask
67
87
  if @new_resource.netmask
@@ -70,20 +90,22 @@ class Chef::Provider::Route < Chef::Provider
70
90
  new_ip = IPAddr.new(@new_resource.target)
71
91
  end
72
92
 
73
- # pull routes from proc
93
+ # For linux, we use /proc/net/route file to read proc table info
74
94
  if node[:os] == "linux"
75
95
  route_file = ::File.open("/proc/net/route", "r")
96
+
97
+ # Read all routes
76
98
  while (line = route_file.gets)
77
- # proc layout
99
+ # Get all the fields for a route
78
100
  iface,destination,gateway,flags,refcnt,use,metric,mask,mtu,window,irtt = line.split
79
101
 
80
- # need to convert packed adresses int quad dot
81
- # the addrs are reversed hex packed decimal addrs. so this unwraps them. tho you could
82
- # do this without ipaddr using unpack. ipaddr has no htoa method.
83
- #
84
- destination = IPAddr.new(destination.scan(/../).reverse.to_s.hex, Socket::AF_INET).to_s
85
- gateway = IPAddr.new(gateway.scan(/../).reverse.to_s.hex, Socket::AF_INET).to_s
86
- mask = IPAddr.new(mask.scan(/../).reverse.to_s.hex, Socket::AF_INET).to_s
102
+ # Convert hex-encoded values to quad-dotted notation (e.g. 0064A8C0 => 192.168.100.0)
103
+ destination = hex2ip(destination)
104
+ gateway = hex2ip(gateway)
105
+ mask = hex2ip(mask)
106
+
107
+ # Skip formatting lines (header, etc)
108
+ next unless destination && gateway && mask
87
109
  Chef::Log.debug("#{@new_resource} system has route: dest=#{destination} mask=#{mask} gw=#{gateway}")
88
110
 
89
111
  # check if what were trying to configure is already there
@@ -93,9 +115,10 @@ class Chef::Provider::Route < Chef::Provider
93
115
  #
94
116
  running_ip = IPAddr.new("#{destination}/#{mask}")
95
117
  Chef::Log.debug("#{@new_resource} new ip: #{new_ip.inspect} running ip: #{running_ip.inspect}")
96
- is_running = true if running_ip == new_ip
118
+ self.is_running = true if running_ip == new_ip && gateway == @new_resource.gateway
97
119
  end
98
- route_file.close
120
+
121
+ route_file.close
99
122
  end
100
123
  end
101
124