chef 0.10.10 → 10.12.0.rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. data/README.rdoc +6 -0
  2. data/distro/common/html/chef-client.8.html +4 -3
  3. data/distro/common/html/chef-expander.8.html +3 -3
  4. data/distro/common/html/chef-expanderctl.8.html +3 -3
  5. data/distro/common/html/chef-server-webui.8.html +3 -3
  6. data/distro/common/html/chef-server.8.html +3 -3
  7. data/distro/common/html/chef-solo.8.html +3 -3
  8. data/distro/common/html/chef-solr.8.html +3 -3
  9. data/distro/common/html/knife-bootstrap.1.html +3 -3
  10. data/distro/common/html/knife-client.1.html +3 -3
  11. data/distro/common/html/knife-configure.1.html +3 -3
  12. data/distro/common/html/knife-cookbook-site.1.html +3 -3
  13. data/distro/common/html/knife-cookbook.1.html +3 -3
  14. data/distro/common/html/knife-data-bag.1.html +3 -3
  15. data/distro/common/html/knife-environment.1.html +3 -3
  16. data/distro/common/html/knife-exec.1.html +3 -3
  17. data/distro/common/html/knife-index.1.html +3 -3
  18. data/distro/common/html/knife-node.1.html +3 -3
  19. data/distro/common/html/knife-role.1.html +3 -3
  20. data/distro/common/html/knife-search.1.html +3 -3
  21. data/distro/common/html/knife-ssh.1.html +3 -3
  22. data/distro/common/html/knife-status.1.html +3 -3
  23. data/distro/common/html/knife-tag.1.html +3 -3
  24. data/distro/common/html/knife.1.html +3 -3
  25. data/distro/common/html/shef.1.html +3 -3
  26. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  27. data/distro/common/man/man1/knife-client.1 +1 -1
  28. data/distro/common/man/man1/knife-configure.1 +1 -1
  29. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  30. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  31. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  32. data/distro/common/man/man1/knife-environment.1 +1 -1
  33. data/distro/common/man/man1/knife-exec.1 +1 -1
  34. data/distro/common/man/man1/knife-index.1 +1 -1
  35. data/distro/common/man/man1/knife-node.1 +1 -1
  36. data/distro/common/man/man1/knife-role.1 +1 -1
  37. data/distro/common/man/man1/knife-search.1 +1 -1
  38. data/distro/common/man/man1/knife-ssh.1 +1 -1
  39. data/distro/common/man/man1/knife-status.1 +1 -1
  40. data/distro/common/man/man1/knife-tag.1 +1 -1
  41. data/distro/common/man/man1/knife.1 +1 -1
  42. data/distro/common/man/man1/shef.1 +1 -1
  43. data/distro/common/man/man8/chef-client.8 +5 -1
  44. data/distro/common/man/man8/chef-expander.8 +1 -1
  45. data/distro/common/man/man8/chef-expanderctl.8 +1 -1
  46. data/distro/common/man/man8/chef-server-webui.8 +1 -1
  47. data/distro/common/man/man8/chef-server.8 +1 -1
  48. data/distro/common/man/man8/chef-solo.8 +1 -1
  49. data/distro/common/man/man8/chef-solr.8 +1 -1
  50. data/distro/common/markdown/man8/chef-client.mkd +2 -0
  51. data/lib/chef/application/client.rb +1 -1
  52. data/lib/chef/application/solo.rb +1 -1
  53. data/lib/chef/application/windows_service.rb +1 -1
  54. data/lib/chef/config.rb +1 -1
  55. data/lib/chef/exceptions.rb +3 -0
  56. data/lib/chef/file_access_control/unix.rb +21 -6
  57. data/lib/chef/file_access_control/windows.rb +7 -7
  58. data/lib/chef/knife/ssh.rb +4 -2
  59. data/lib/chef/mixin/enforce_ownership_and_permissions.rb +1 -1
  60. data/lib/chef/provider/link.rb +49 -45
  61. data/lib/chef/provider/mdadm.rb +4 -1
  62. data/lib/chef/provider/package/rubygems.rb +2 -1
  63. data/lib/chef/provider/remote_file.rb +17 -1
  64. data/lib/chef/reserved_names.rb +9 -0
  65. data/lib/chef/resource/link.rb +1 -17
  66. data/lib/chef/resource/mdadm.rb +1 -1
  67. data/lib/chef/resource_platform_map.rb +1 -3
  68. data/lib/chef/rest.rb +48 -17
  69. data/lib/chef/version.rb +1 -1
  70. data/lib/chef/win32/api.rb +16 -1
  71. data/lib/chef/win32/api/error.rb +9 -9
  72. data/lib/chef/win32/api/file.rb +263 -17
  73. data/lib/chef/win32/api/memory.rb +12 -12
  74. data/lib/chef/win32/api/process.rb +5 -5
  75. data/lib/chef/win32/api/psapi.rb +3 -3
  76. data/lib/chef/win32/api/security.rb +41 -41
  77. data/lib/chef/win32/api/system.rb +8 -8
  78. data/lib/chef/win32/api/unicode.rb +6 -6
  79. data/lib/chef/win32/error.rb +4 -4
  80. data/lib/chef/win32/file.rb +65 -15
  81. data/lib/chef/win32/file/info.rb +7 -7
  82. data/lib/chef/win32/handle.rb +3 -3
  83. data/lib/chef/win32/memory.rb +8 -8
  84. data/lib/chef/win32/process.rb +8 -8
  85. data/lib/chef/win32/security.rb +49 -49
  86. data/lib/chef/win32/security/ace.rb +11 -11
  87. data/lib/chef/win32/security/acl.rb +10 -10
  88. data/lib/chef/win32/security/securable_object.rb +13 -13
  89. data/lib/chef/win32/security/security_descriptor.rb +12 -12
  90. data/lib/chef/win32/security/sid.rb +8 -8
  91. data/lib/chef/win32/security/token.rb +8 -8
  92. data/lib/chef/win32/unicode.rb +5 -5
  93. data/lib/chef/win32/version.rb +4 -4
  94. metadata +374 -370
@@ -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="&#x6d;&#97;&#x69;&#108;&#x74;&#x6f;&#x3a;&#x61;&#100;&#97;&#x6d;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x61;&#100;&#97;&#x6d;&#64;&#111;&#112;&#115;&#99;&#111;&#100;&#101;&#46;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
136
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#105;&#x6c;&#x74;&#111;&#x3a;&#97;&#x64;&#97;&#x6d;&#64;&#111;&#x70;&#x73;&#99;&#x6f;&#100;&#101;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#97;&#100;&#x61;&#109;&#x40;&#111;&#112;&#x73;&#x63;&#x6f;&#100;&#101;&#46;&#99;&#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;&#x61;&#x69;&#108;&#x74;&#x6f;&#x3a;&#106;&#111;&#x73;&#x68;&#x75;&#x61;&#x40;&#111;&#112;&#x73;&#99;&#111;&#x64;&#101;&#46;&#99;&#111;&#109;" data-bare-link="true">&#106;&#x6f;&#115;&#x68;&#117;&#97;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#100;&#x65;&#46;&#99;&#111;&#x6d;</a>.
140
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#x61;&#105;&#108;&#116;&#x6f;&#x3a;&#106;&#x6f;&#x73;&#104;&#117;&#x61;&#64;&#111;&#x70;&#115;&#x63;&#x6f;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#x68;&#x75;&#97;&#x40;&#111;&#112;&#x73;&#99;&#x6f;&#100;&#101;&#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,7 +146,7 @@ option.</dd>
146
146
 
147
147
 
148
148
  <ol class='man-decor man-foot man foot'>
149
- <li class='tl'>Chef 0.10.10</li>
149
+ <li class='tl'>Chef 10.12.0.rc.1</li>
150
150
  <li class='tc'>May 2012</li>
151
151
  <li class='tr'>knife-ssh(1)</li>
152
152
  </ol>
@@ -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="&#109;&#x61;&#x69;&#x6c;&#116;&#111;&#58;&#97;&#100;&#97;&#109;&#64;&#x6f;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#97;&#x64;&#97;&#x6d;&#x40;&#x6f;&#112;&#115;&#x63;&#x6f;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;</a> with many contributions from the community.</p>
108
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x61;&#100;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#99;&#x6f;&#100;&#101;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#46;&#x63;&#x6f;&#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;&#105;&#108;&#116;&#111;&#x3a;&#106;&#x6f;&#x73;&#104;&#x75;&#97;&#x40;&#111;&#x70;&#115;&#99;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#x68;&#117;&#x61;&#x40;&#x6f;&#x70;&#x73;&#x63;&#x6f;&#x64;&#x65;&#46;&#99;&#x6f;&#x6d;</a>.
112
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#106;&#111;&#x73;&#x68;&#117;&#x61;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#104;&#117;&#97;&#64;&#x6f;&#112;&#115;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#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 0.10.10</li>
121
+ <li class='tl'>Chef 10.12.0.rc.1</li>
122
122
  <li class='tc'>May 2012</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="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#58;&#97;&#100;&#x61;&#109;&#x40;&#111;&#112;&#x73;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#97;&#100;&#97;&#109;&#64;&#111;&#112;&#115;&#99;&#111;&#100;&#101;&#x2e;&#x63;&#111;&#x6d;</a> with many contributions from the community.</p>
117
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#108;&#x74;&#x6f;&#x3a;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x61;&#100;&#97;&#x6d;&#64;&#x6f;&#112;&#x73;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#111;&#109;</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="&#x6d;&#x61;&#105;&#108;&#x74;&#111;&#x3a;&#100;&#x61;&#110;&#x40;&#x6f;&#112;&#115;&#x63;&#111;&#100;&#101;&#x2e;&#x63;&#111;&#x6d;" data-bare-link="true">&#x64;&#97;&#110;&#x40;&#111;&#x70;&#115;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#111;&#x6d;</a>.
121
+ <p> This manual page was written by Daniel DeLeo <a href="&#x6d;&#x61;&#105;&#x6c;&#116;&#111;&#58;&#x64;&#97;&#110;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#x64;&#x65;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#100;&#x61;&#x6e;&#x40;&#111;&#112;&#115;&#99;&#111;&#x64;&#101;&#46;&#x63;&#111;&#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,7 +127,7 @@
127
127
 
128
128
 
129
129
  <ol class='man-decor man-foot man foot'>
130
- <li class='tl'>Chef 0.10.10</li>
130
+ <li class='tl'>Chef 10.12.0.rc.1</li>
131
131
  <li class='tc'>May 2012</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="&#109;&#x61;&#105;&#108;&#x74;&#x6f;&#58;&#x61;&#x64;&#x61;&#x6d;&#64;&#x6f;&#112;&#x73;&#x63;&#x6f;&#100;&#101;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#x40;&#x6f;&#x70;&#x73;&#x63;&#111;&#x64;&#x65;&#x2e;&#99;&#111;&#x6d;</a> of Opscode
294
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x61;&#100;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#99;&#x6f;&#100;&#101;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#x61;&#100;&#97;&#109;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#46;&#x63;&#x6f;&#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;&#105;&#108;&#116;&#111;&#x3a;&#106;&#x6f;&#x73;&#104;&#x75;&#97;&#x40;&#111;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#106;&#111;&#x73;&#x68;&#117;&#97;&#x40;&#111;&#112;&#x73;&#99;&#111;&#100;&#101;&#x2e;&#x63;&#111;&#x6d;</a>.</p>
299
+ <p> This manual page was written by Joshua Timberman <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#106;&#111;&#x73;&#x68;&#117;&#x61;&#64;&#111;&#112;&#x73;&#99;&#x6f;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#104;&#117;&#97;&#64;&#x6f;&#112;&#115;&#x63;&#111;&#x64;&#x65;&#46;&#x63;&#111;&#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 0.10.10</li>
313
+ <li class='tl'>Chef 10.12.0.rc.1</li>
314
314
  <li class='tc'>May 2012</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="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#x3a;&#97;&#100;&#x61;&#109;&#x40;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#100;&#x61;&#109;&#x40;&#111;&#112;&#115;&#x63;&#x6f;&#x64;&#101;&#46;&#99;&#x6f;&#109;</a> with many
261
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#105;&#108;&#x74;&#x6f;&#58;&#97;&#x64;&#97;&#109;&#x40;&#111;&#112;&#x73;&#99;&#111;&#100;&#101;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#x61;&#x64;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#99;&#x6f;&#x64;&#101;&#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="&#109;&#97;&#105;&#x6c;&#116;&#x6f;&#58;&#100;&#97;&#x6e;&#64;&#x6f;&#x70;&#x73;&#99;&#x6f;&#x64;&#101;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#100;&#x61;&#x6e;&#x40;&#x6f;&#x70;&#x73;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#x6d;</a>.
266
+ <p> This manual page was written by Daniel DeLeo <a href="&#109;&#x61;&#105;&#x6c;&#x74;&#111;&#58;&#x64;&#x61;&#x6e;&#x40;&#x6f;&#112;&#x73;&#99;&#111;&#100;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x64;&#x61;&#x6e;&#64;&#111;&#112;&#115;&#99;&#111;&#100;&#x65;&#46;&#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 0.10.10</li>
276
+ <li class='tl'>Chef 10.12.0.rc.1</li>
277
277
  <li class='tc'>May 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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-BOOTSTRAP" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "KNIFE" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "SHEF" "1" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "May 2012" "Chef 10.12.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\.
@@ -54,6 +54,10 @@ Ensures logging goes to STDOUT as well as to other configured log location(s)\.
54
54
  The node name for this client
55
55
  .
56
56
  .TP
57
+ \fB\-o\fR, \fB\-\-override\-runlist\fR
58
+ Replace current run list with specified items
59
+ .
60
+ .TP
57
61
  \fB\-K\fR, \fB\-\-validation_key KEY_FILE\fR
58
62
  Set the validation key file location, used for registering new clients
59
63
  .
@@ -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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "May 2012" "Chef 10.12.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" "May 2012" "Chef 0.10.10" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "May 2012" "Chef 10.12.0.rc.1" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -29,6 +29,8 @@ __chef-client__ _(options)_
29
29
  log location(s).
30
30
  * `-N`, `--node-name NODE_NAME`:
31
31
  The node name for this client
32
+ * `-o`, `--override-runlist`:
33
+ Replace current run list with specified items
32
34
  * `-K`, `--validation_key KEY_FILE`:
33
35
  Set the validation key file location, used for registering new clients
34
36
  * `-k`, `--client_key KEY_FILE`:
@@ -144,7 +144,7 @@ class Chef::Application::Client < Chef::Application
144
144
 
145
145
  option :override_runlist,
146
146
  :short => "-o RunlistItem,RunlistItem...",
147
- :long => "-override-runlist RunlistItem,RunlistItem...",
147
+ :long => "--override-runlist RunlistItem,RunlistItem...",
148
148
  :description => "Replace current run list with specified items",
149
149
  :proc => lambda{|items|
150
150
  items = items.split(',')
@@ -113,7 +113,7 @@ class Chef::Application::Solo < Chef::Application
113
113
 
114
114
  option :override_runlist,
115
115
  :short => "-o RunlistItem,RunlistItem...",
116
- :long => "-override-runlist RunlistItem,RunlistItem...",
116
+ :long => "--override-runlist RunlistItem,RunlistItem...",
117
117
  :description => "Replace current run list with specified items",
118
118
  :proc => lambda{|items|
119
119
  items = items.split(',')
@@ -57,7 +57,7 @@ class Chef
57
57
 
58
58
  option :override_runlist,
59
59
  :short => "-o RunlistItem,RunlistItem...",
60
- :long => "-override-runlist RunlistItem,RunlistItem...",
60
+ :long => "--override-runlist RunlistItem,RunlistItem...",
61
61
  :description => "Replace current run list with specified items",
62
62
  :proc => lambda{|items|
63
63
  items = items.split(',')
@@ -253,7 +253,7 @@ class Chef
253
253
  # Checksum Cache
254
254
  # Uses Moneta on the back-end
255
255
  cache_type "BasicFile"
256
- cache_options({ :path => platform_specific_path("/etc/chef/cache/checksums"), :skip_expires => true })
256
+ cache_options({ :path => platform_specific_path("/var/chef/cache/checksums"), :skip_expires => true })
257
257
 
258
258
  # Arbitrary knife configuration data
259
259
  knife Hash.new
@@ -76,6 +76,9 @@ class Chef
76
76
  class EnclosingDirectoryDoesNotExist < ArgumentError; end
77
77
  # Errors originating from calls to the Win32 API
78
78
  class Win32APIError < RuntimeError; end
79
+ # Thrown when Win32 API layer binds to non-existent Win32 function. Occurs
80
+ # when older versions of Windows don't support newer Win32 API functions.
81
+ class Win32APIFunctionNotImplemented < NotImplementedError; end
79
82
 
80
83
  class ObsoleteDependencySyntax < ArgumentError; end
81
84
  class InvalidDataBagPath < ArgumentError; end
@@ -29,7 +29,7 @@ class Chef
29
29
  def set_all
30
30
  set_owner
31
31
  set_group
32
- set_mode unless resource.instance_of?(Chef::Resource::Link)
32
+ set_mode
33
33
  end
34
34
 
35
35
  # Workaround the fact that Ruby's Etc module doesn't believe in negative
@@ -87,28 +87,43 @@ class Chef
87
87
  end
88
88
  end
89
89
 
90
- # TODO rename this to a more generic target_permissions
91
90
  def target_mode
92
91
  return nil if resource.mode.nil?
93
92
  (resource.mode.respond_to?(:oct) ? resource.mode.oct : resource.mode.to_i) & 007777
94
93
  end
95
94
 
96
- # TODO rename this to a more generic set_permissions
97
95
  def set_mode
98
96
  if (mode = target_mode) && (mode != (stat.mode & 007777))
99
- File.chmod(target_mode, file)
97
+ chmod(target_mode, file)
100
98
  Chef::Log.info("#{log_string} mode changed to #{mode.to_s(8)}")
101
99
  modified
102
100
  end
103
101
  end
104
102
 
105
103
  def stat
106
- @stat ||= ::File.stat(file)
104
+ if File.symlink?(file)
105
+ @stat ||= File.lstat(file)
106
+ else
107
+ @stat ||= File.stat(file)
108
+ end
107
109
  end
108
110
 
109
111
  private
112
+
113
+ def chmod(mode, file)
114
+ if File.symlink?(file)
115
+ begin
116
+ File.lchmod(mode, file)
117
+ rescue NotImplementedError
118
+ Chef::Log.warn("#{file} mode not changed: File.lchmod is unimplemented on this OS and Ruby version")
119
+ end
120
+ else
121
+ File.chmod(mode, file)
122
+ end
123
+ end
124
+
110
125
  def chown(uid, gid, file)
111
- if resource.instance_of?(Chef::Resource::Link)
126
+ if ::File.symlink?(file)
112
127
  File.lchown(uid, gid, file)
113
128
  else
114
129
  File.chown(uid, gid, file)