chef 11.6.0.hotfix.1 → 11.6.0.rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +15 -0
  2. data/distro/common/html/chef-client.8.html +4 -4
  3. data/distro/common/html/chef-expander.8.html +4 -4
  4. data/distro/common/html/chef-expanderctl.8.html +4 -4
  5. data/distro/common/html/chef-server-webui.8.html +4 -4
  6. data/distro/common/html/chef-server.8.html +4 -4
  7. data/distro/common/html/chef-shell.1.html +4 -4
  8. data/distro/common/html/chef-solo.8.html +4 -4
  9. data/distro/common/html/chef-solr.8.html +4 -4
  10. data/distro/common/html/knife-bootstrap.1.html +4 -4
  11. data/distro/common/html/knife-client.1.html +4 -4
  12. data/distro/common/html/knife-configure.1.html +4 -4
  13. data/distro/common/html/knife-cookbook-site.1.html +4 -4
  14. data/distro/common/html/knife-cookbook.1.html +4 -4
  15. data/distro/common/html/knife-data-bag.1.html +4 -4
  16. data/distro/common/html/knife-environment.1.html +4 -4
  17. data/distro/common/html/knife-exec.1.html +4 -4
  18. data/distro/common/html/knife-index.1.html +4 -4
  19. data/distro/common/html/knife-node.1.html +4 -4
  20. data/distro/common/html/knife-role.1.html +4 -4
  21. data/distro/common/html/knife-search.1.html +4 -4
  22. data/distro/common/html/knife-ssh.1.html +4 -4
  23. data/distro/common/html/knife-status.1.html +4 -4
  24. data/distro/common/html/knife-tag.1.html +4 -4
  25. data/distro/common/html/knife.1.html +4 -4
  26. data/distro/common/man/man1/chef-shell.1 +1 -1
  27. data/distro/common/man/man1/knife-bootstrap.1 +1 -1
  28. data/distro/common/man/man1/knife-client.1 +1 -1
  29. data/distro/common/man/man1/knife-configure.1 +1 -1
  30. data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
  31. data/distro/common/man/man1/knife-cookbook.1 +1 -1
  32. data/distro/common/man/man1/knife-data-bag.1 +1 -1
  33. data/distro/common/man/man1/knife-environment.1 +1 -1
  34. data/distro/common/man/man1/knife-exec.1 +1 -1
  35. data/distro/common/man/man1/knife-index.1 +1 -1
  36. data/distro/common/man/man1/knife-node.1 +1 -1
  37. data/distro/common/man/man1/knife-role.1 +1 -1
  38. data/distro/common/man/man1/knife-search.1 +1 -1
  39. data/distro/common/man/man1/knife-ssh.1 +1 -1
  40. data/distro/common/man/man1/knife-status.1 +1 -1
  41. data/distro/common/man/man1/knife-tag.1 +1 -1
  42. data/distro/common/man/man1/knife.1 +1 -1
  43. data/distro/common/man/man8/chef-client.8 +1 -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/lib/chef/application/client.rb +2 -0
  51. data/lib/chef/application/solo.rb +1 -0
  52. data/lib/chef/application/windows_service.rb +1 -0
  53. data/lib/chef/client.rb +6 -28
  54. data/lib/chef/config.rb +1 -1
  55. data/lib/chef/cookbook/cookbook_version_loader.rb +19 -10
  56. data/lib/chef/cookbook/file_system_file_vendor.rb +7 -4
  57. data/lib/chef/cookbook/metadata.rb +10 -1
  58. data/lib/chef/cookbook/syntax_check.rb +4 -4
  59. data/lib/chef/cookbook_uploader.rb +1 -1
  60. data/lib/chef/cookbook_version.rb +10 -6
  61. data/lib/chef/deprecation/provider/template.rb +1 -1
  62. data/lib/chef/exceptions.rb +0 -2
  63. data/lib/chef/formatters/error_descriptor.rb +4 -5
  64. data/lib/chef/knife/cookbook_site_share.rb +0 -1
  65. data/lib/chef/knife/cookbook_test.rb +0 -1
  66. data/lib/chef/provider/file.rb +1 -2
  67. data/lib/chef/provider/package/yum.rb +1 -2
  68. data/lib/chef/provider/remote_file/cache_control_data.rb +6 -12
  69. data/lib/chef/resource/file.rb +0 -2
  70. data/lib/chef/resource_reporter.rb +2 -5
  71. data/lib/chef/scan_access_control.rb +1 -6
  72. data/lib/chef/util/diff.rb +5 -31
  73. data/lib/chef/version.rb +1 -1
  74. data/lib/chef/win32/api/file.rb +0 -7
  75. data/spec/data/cookbooks/not-nginx/attributes/default.rb +1 -0
  76. data/spec/data/cookbooks/not-nginx/metadata.rb +1 -0
  77. data/spec/data/kitchen/no-really-not-nginx/attributes/default.rb +1 -0
  78. data/spec/data/kitchen/no-really-not-nginx/metadata.rb +1 -0
  79. data/spec/functional/knife/exec_spec.rb +2 -2
  80. data/spec/functional/resource/user_spec.rb +14 -6
  81. data/spec/spec_helper.rb +0 -32
  82. data/spec/support/platform_helpers.rb +0 -12
  83. data/spec/support/shared/functional/file_resource.rb +10 -87
  84. data/spec/support/shared/unit/provider/file.rb +2 -4
  85. data/spec/unit/cookbook/metadata_spec.rb +56 -50
  86. data/spec/unit/cookbook_loader_spec.rb +22 -1
  87. data/spec/unit/provider/package/rubygems_spec.rb +1 -1
  88. data/spec/unit/provider/package/yum_spec.rb +36 -17
  89. data/spec/unit/provider/remote_file/cache_control_data_spec.rb +0 -50
  90. data/spec/unit/resource_reporter_spec.rb +1 -52
  91. data/spec/unit/scan_access_control_spec.rb +2 -4
  92. data/spec/unit/util/diff_spec.rb +11 -351
  93. metadata +9 -93
  94. data/spec/data/apt/chef-integration-test-1.0/debian/changelog +0 -5
  95. data/spec/data/apt/chef-integration-test-1.0/debian/compat +0 -1
  96. data/spec/data/apt/chef-integration-test-1.0/debian/control +0 -13
  97. data/spec/data/apt/chef-integration-test-1.0/debian/copyright +0 -34
  98. data/spec/data/apt/chef-integration-test-1.0/debian/files +0 -1
  99. data/spec/data/apt/chef-integration-test-1.0/debian/rules +0 -13
  100. data/spec/data/apt/chef-integration-test-1.0/debian/source/format +0 -1
  101. data/spec/data/apt/chef-integration-test-1.1/debian/changelog +0 -11
  102. data/spec/data/apt/chef-integration-test-1.1/debian/compat +0 -1
  103. data/spec/data/apt/chef-integration-test-1.1/debian/control +0 -13
  104. data/spec/data/apt/chef-integration-test-1.1/debian/copyright +0 -34
  105. data/spec/data/apt/chef-integration-test-1.1/debian/files +0 -1
  106. data/spec/data/apt/chef-integration-test-1.1/debian/rules +0 -13
  107. data/spec/data/apt/chef-integration-test-1.1/debian/source/format +0 -1
  108. data/spec/data/apt/chef-integration-test_1.0-1_amd64.changes +0 -22
  109. data/spec/data/apt/chef-integration-test_1.0-1_amd64.deb +0 -0
  110. data/spec/data/apt/chef-integration-test_1.0.orig.tar.gz +0 -0
  111. data/spec/data/apt/chef-integration-test_1.1-1_amd64.changes +0 -22
  112. data/spec/data/apt/chef-integration-test_1.1-1_amd64.deb +0 -0
  113. data/spec/data/apt/chef-integration-test_1.1.orig.tar.gz +0 -0
  114. data/spec/data/apt/var/www/apt/conf/distributions +0 -7
  115. data/spec/data/apt/var/www/apt/conf/incoming +0 -4
  116. data/spec/data/apt/var/www/apt/conf/pulls +0 -3
  117. data/spec/data/apt/var/www/apt/db/checksums.db +0 -0
  118. data/spec/data/apt/var/www/apt/db/contents.cache.db +0 -0
  119. data/spec/data/apt/var/www/apt/db/packages.db +0 -0
  120. data/spec/data/apt/var/www/apt/db/references.db +0 -0
  121. data/spec/data/apt/var/www/apt/db/release.caches.db +0 -0
  122. data/spec/data/apt/var/www/apt/db/version +0 -4
  123. data/spec/data/apt/var/www/apt/dists/sid/Release +0 -19
  124. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages +0 -16
  125. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz +0 -0
  126. data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release +0 -5
  127. data/spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages +0 -0
  128. data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb +0 -0
  129. data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb +0 -0
  130. data/spec/data/cookbooks/preseed/files/default/preseed-file.seed +0 -1
  131. data/spec/data/cookbooks/preseed/templates/default/preseed-template.seed +0 -1
  132. data/spec/functional/provider/remote_file/cache_control_data_spec.rb +0 -101
  133. data/spec/functional/resource/package_spec.rb +0 -297
@@ -177,11 +177,11 @@ run_list.</p>
177
177
 
178
178
  <h2 id="AUTHOR">AUTHOR</h2>
179
179
 
180
- <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#97;&#x64;&#97;&#109;&#x40;&#111;&#112;&#115;&#99;&#x6f;&#100;&#x65;&#46;&#x63;&#x6f;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#x6d;&#x40;&#x6f;&#112;&#x73;&#x63;&#111;&#100;&#101;&#x2e;&#99;&#111;&#109;</a> with many contributions from the community.</p>
180
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#x61;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#100;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#x63;&#x6f;&#100;&#101;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#x61;&#x64;&#x61;&#x6d;&#x40;&#111;&#112;&#115;&#x63;&#x6f;&#100;&#101;&#46;&#99;&#x6f;&#x6d;</a> with many contributions from the community.</p>
181
181
 
182
182
  <h2 id="DOCUMENTATION">DOCUMENTATION</h2>
183
183
 
184
- <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#105;&#x6c;&#x74;&#111;&#x3a;&#x6a;&#111;&#x73;&#104;&#117;&#97;&#x40;&#x6f;&#112;&#x73;&#99;&#x6f;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x6a;&#x6f;&#x73;&#104;&#117;&#x61;&#64;&#111;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#x2e;&#99;&#x6f;&#109;</a>.
184
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#106;&#111;&#x73;&#104;&#117;&#97;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#100;&#x65;&#46;&#99;&#111;&#109;" data-bare-link="true">&#x6a;&#111;&#115;&#x68;&#x75;&#97;&#x40;&#x6f;&#x70;&#x73;&#99;&#111;&#100;&#101;&#46;&#x63;&#x6f;&#109;</a>.
185
185
  Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
186
186
 
187
187
  <h2 id="CHEF">CHEF</h2>
@@ -190,8 +190,8 @@ run_list.</p>
190
190
 
191
191
 
192
192
  <ol class='man-decor man-foot man foot'>
193
- <li class='tl'>Chef 11.6.0.hotfix.1</li>
194
- <li class='tc'>August 2013</li>
193
+ <li class='tl'>Chef 11.6.0.rc.0</li>
194
+ <li class='tc'>June 2013</li>
195
195
  <li class='tr'>knife-role(1)</li>
196
196
  </ol>
197
197
 
@@ -265,11 +265,11 @@ www.example.com:</p>
265
265
 
266
266
  <h2 id="AUTHOR">AUTHOR</h2>
267
267
 
268
- <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x61;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
268
+ <p> Chef was written by Adam Jacob <a href="&#x6d;&#x61;&#105;&#x6c;&#x74;&#x6f;&#x3a;&#x61;&#100;&#x61;&#x6d;&#64;&#x6f;&#112;&#115;&#x63;&#x6f;&#100;&#101;&#46;&#x63;&#111;&#109;" data-bare-link="true">&#x61;&#x64;&#x61;&#x6d;&#x40;&#111;&#112;&#115;&#x63;&#x6f;&#100;&#101;&#46;&#99;&#x6f;&#x6d;</a> with many contributions from the community.</p>
269
269
 
270
270
  <h2 id="DOCUMENTATION">DOCUMENTATION</h2>
271
271
 
272
- <p> This manual page was written by Joshua Timberman <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#111;&#x3a;&#x6a;&#111;&#x73;&#104;&#x75;&#x61;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#106;&#x6f;&#x73;&#x68;&#117;&#97;&#64;&#x6f;&#112;&#x73;&#99;&#111;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>.
272
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#106;&#111;&#x73;&#104;&#117;&#97;&#x40;&#111;&#x70;&#115;&#x63;&#111;&#100;&#x65;&#46;&#99;&#111;&#109;" data-bare-link="true">&#x6a;&#111;&#115;&#x68;&#x75;&#97;&#x40;&#x6f;&#x70;&#x73;&#99;&#111;&#100;&#101;&#46;&#x63;&#x6f;&#109;</a>.
273
273
  Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
274
274
 
275
275
  <h2 id="CHEF">CHEF</h2>
@@ -278,8 +278,8 @@ www.example.com:</p>
278
278
 
279
279
 
280
280
  <ol class='man-decor man-foot man foot'>
281
- <li class='tl'>Chef 11.6.0.hotfix.1</li>
282
- <li class='tc'>August 2013</li>
281
+ <li class='tl'>Chef 11.6.0.rc.0</li>
282
+ <li class='tc'>June 2013</li>
283
283
  <li class='tr'>knife-search(1)</li>
284
284
  </ol>
285
285
 
@@ -133,11 +133,11 @@ option.</dd>
133
133
 
134
134
  <h2 id="AUTHOR">AUTHOR</h2>
135
135
 
136
- <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x61;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
136
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#58;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#x70;&#115;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#111;&#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;&#x6c;&#116;&#111;&#x3a;&#x6a;&#111;&#x73;&#104;&#x75;&#x61;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#106;&#x6f;&#x73;&#x68;&#117;&#97;&#64;&#x6f;&#112;&#x73;&#99;&#111;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>.
140
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x6a;&#x6f;&#x73;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#99;&#111;&#100;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#111;&#x73;&#x68;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a>.
141
141
  Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.</p>
142
142
 
143
143
  <h2 id="CHEF">CHEF</h2>
@@ -146,8 +146,8 @@ option.</dd>
146
146
 
147
147
 
148
148
  <ol class='man-decor man-foot man foot'>
149
- <li class='tl'>Chef 11.6.0.hotfix.1</li>
150
- <li class='tc'>August 2013</li>
149
+ <li class='tl'>Chef 11.6.0.rc.0</li>
150
+ <li class='tc'>June 2013</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;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x61;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
108
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#58;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#x70;&#115;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#111;&#109;</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;&#x6c;&#116;&#111;&#x3a;&#x6a;&#111;&#x73;&#104;&#x75;&#x61;&#64;&#x6f;&#x70;&#115;&#99;&#111;&#x64;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#106;&#x6f;&#x73;&#x68;&#117;&#97;&#64;&#x6f;&#112;&#x73;&#99;&#111;&#100;&#x65;&#46;&#x63;&#x6f;&#x6d;</a>.
112
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x6a;&#x6f;&#x73;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#99;&#111;&#100;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#111;&#x73;&#x68;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#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 11.6.0.hotfix.1</li>
122
- <li class='tc'>August 2013</li>
121
+ <li class='tl'>Chef 11.6.0.rc.0</li>
122
+ <li class='tc'>June 2013</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;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x61;&#x64;&#97;&#109;&#x40;&#x6f;&#x70;&#x73;&#99;&#x6f;&#100;&#x65;&#x2e;&#99;&#111;&#109;" data-bare-link="true">&#97;&#x64;&#x61;&#109;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a> with many contributions from the community.</p>
117
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#58;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#x70;&#115;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#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="&#109;&#x61;&#x69;&#x6c;&#116;&#111;&#x3a;&#x64;&#97;&#x6e;&#64;&#x6f;&#x70;&#115;&#x63;&#x6f;&#100;&#101;&#46;&#x63;&#111;&#x6d;" data-bare-link="true">&#100;&#x61;&#110;&#64;&#x6f;&#x70;&#x73;&#99;&#111;&#100;&#x65;&#46;&#x63;&#111;&#109;</a>.
121
+ <p> This manual page was written by Daniel DeLeo <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x64;&#x61;&#x6e;&#64;&#111;&#x70;&#x73;&#99;&#x6f;&#x64;&#101;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#100;&#x61;&#110;&#x40;&#111;&#x70;&#x73;&#99;&#x6f;&#x64;&#101;&#x2e;&#x63;&#x6f;&#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,8 +127,8 @@
127
127
 
128
128
 
129
129
  <ol class='man-decor man-foot man foot'>
130
- <li class='tl'>Chef 11.6.0.hotfix.1</li>
131
- <li class='tc'>August 2013</li>
130
+ <li class='tl'>Chef 11.6.0.rc.0</li>
131
+ <li class='tc'>June 2013</li>
132
132
  <li class='tr'>knife-tag(1)</li>
133
133
  </ol>
134
134
 
@@ -286,12 +286,12 @@ data editing entirely.</dd>
286
286
 
287
287
  <h2 id="AUTHOR">AUTHOR</h2>
288
288
 
289
- <p> Chef was written by Adam Jacob <a href="&#x6d;&#97;&#105;&#108;&#116;&#111;&#x3a;&#x61;&#x64;&#x61;&#109;&#x40;&#x6f;&#x70;&#x73;&#x63;&#x6f;&#100;&#101;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x61;&#100;&#x61;&#x6d;&#64;&#x6f;&#x70;&#x73;&#99;&#x6f;&#x64;&#101;&#46;&#x63;&#x6f;&#x6d;</a> of Opscode
289
+ <p> Chef was written by Adam Jacob <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#x6f;&#58;&#x61;&#x64;&#x61;&#109;&#64;&#x6f;&#x70;&#115;&#99;&#x6f;&#x64;&#x65;&#x2e;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#97;&#100;&#97;&#x6d;&#x40;&#111;&#x70;&#x73;&#x63;&#111;&#x64;&#101;&#x2e;&#99;&#111;&#109;</a> of Opscode
290
290
  (<a href="http://www.opscode.com" data-bare-link="true">http://www.opscode.com</a>), with contributions from the community.</p>
291
291
 
292
292
  <h2 id="DOCUMENTATION">DOCUMENTATION</h2>
293
293
 
294
- <p> This manual page was written by Joshua Timberman <a href="&#109;&#97;&#x69;&#x6c;&#x74;&#x6f;&#58;&#106;&#111;&#x73;&#104;&#117;&#97;&#x40;&#x6f;&#x70;&#x73;&#99;&#111;&#x64;&#x65;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#106;&#x6f;&#115;&#x68;&#117;&#x61;&#64;&#111;&#x70;&#x73;&#x63;&#111;&#100;&#x65;&#46;&#x63;&#x6f;&#109;</a>.</p>
294
+ <p> This manual page was written by Joshua Timberman <a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#x6a;&#x6f;&#x73;&#104;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#99;&#111;&#100;&#101;&#x2e;&#99;&#x6f;&#109;" data-bare-link="true">&#x6a;&#111;&#x73;&#x68;&#117;&#x61;&#x40;&#111;&#x70;&#x73;&#x63;&#x6f;&#x64;&#101;&#x2e;&#x63;&#x6f;&#x6d;</a>.</p>
295
295
 
296
296
  <h2 id="LICENSE">LICENSE</h2>
297
297
 
@@ -305,8 +305,8 @@ data editing entirely.</dd>
305
305
 
306
306
 
307
307
  <ol class='man-decor man-foot man foot'>
308
- <li class='tl'>Chef 11.6.0.hotfix.1</li>
309
- <li class='tc'>August 2013</li>
308
+ <li class='tl'>Chef 11.6.0.rc.0</li>
309
+ <li class='tc'>June 2013</li>
310
310
  <li class='tr'>knife(1)</li>
311
311
  </ol>
312
312
 
@@ -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\-SHELL" "1" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-SHELL" "1" "June 2013" "Chef 11.6.0.rc.0" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-shell\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 "KNIFE\-BOOTSTRAP" "1" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-BOOTSTRAP" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-CLIENT" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-CONFIGURE" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK\-SITE" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-COOKBOOK" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-DATA\-BAG" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-ENVIRONMENT" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-EXEC" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-INDEX" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-NODE" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-ROLE" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-SEARCH" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "KNIFE" "1" "June 2013" "Chef 11.6.0.rc.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 "CHEF\-CLIENT" "8" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "June 2013" "Chef 11.6.0.rc.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" "August 2013" "Chef 11.6.0.hotfix.1" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "June 2013" "Chef 11.6.0.rc.0" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -316,6 +316,7 @@ class Chef::Application::Client < Chef::Application
316
316
  rescue Exception => e
317
317
  if Chef::Config[:interval]
318
318
  Chef::Log.error("#{e.class}: #{e}")
319
+ Chef::Application.debug_stacktrace(e)
319
320
  Chef::Log.error("Sleeping for #{Chef::Config[:interval]} seconds before trying again")
320
321
  unless SELF_PIPE.empty?
321
322
  client_sleep Chef::Config[:interval]
@@ -325,6 +326,7 @@ class Chef::Application::Client < Chef::Application
325
326
  end
326
327
  retry
327
328
  else
329
+ Chef::Application.debug_stacktrace(e)
328
330
  Chef::Application.fatal!("#{e.class}: #{e.message}", 1)
329
331
  end
330
332
  end
@@ -253,6 +253,7 @@ class Chef::Application::Solo < Chef::Application
253
253
  sleep Chef::Config[:interval]
254
254
  retry
255
255
  else
256
+ Chef::Application.debug_stacktrace(e)
256
257
  Chef::Application.fatal!("#{e.class}: #{e.message}", 1)
257
258
  end
258
259
  end
@@ -99,6 +99,7 @@ class Chef
99
99
  Chef::Log.error("#{e.class}: #{e}")
100
100
  rescue Exception => e
101
101
  Chef::Log.error("#{e.class}: #{e}")
102
+ Chef::Application.debug_stacktrace(e)
102
103
  end
103
104
  end
104
105
  end
data/lib/chef/client.rb CHANGED
@@ -191,41 +191,20 @@ class Chef
191
191
  if(Chef::Config[:client_fork] && Process.respond_to?(:fork) && !Chef::Platform.windows?)
192
192
  Chef::Log.info "Forking chef instance to converge..."
193
193
  pid = fork do
194
- [:INT, :TERM].each {|s| trap(s, "EXIT") }
195
- client_solo = Chef::Config[:solo] ? "chef-solo" : "chef-client"
196
- $0 = "#{client_solo} worker: ppid=#{Process.ppid};start=#{Time.new.strftime("%R:%S")};"
197
- begin
198
- Chef::Log.debug "Forked instance now converging"
199
- do_run
200
- rescue Exception
201
- exit 1
202
- else
203
- exit 0
204
- end
194
+ Chef::Log.info "Forked instance now converging"
195
+ do_run
196
+ exit
205
197
  end
206
- Chef::Log.debug "Fork successful. Waiting for new chef pid: #{pid}"
198
+ Chef::Log.info "Fork successful. Waiting for new chef pid: #{pid}"
207
199
  result = Process.waitpid2(pid)
208
- handle_child_exit(result)
209
- Chef::Log.debug "Forked child successfully reaped (pid: #{pid})"
200
+ raise "Forked convergence run failed" unless result.last.success?
201
+ Chef::Log.info "Forked child successfully reaped (pid: #{pid})"
210
202
  true
211
203
  else
212
204
  do_run
213
205
  end
214
206
  end
215
207
 
216
- def handle_child_exit(pid_and_status)
217
- status = pid_and_status[1]
218
- return true if status.success?
219
- message = if status.signaled?
220
- "Chef run process terminated by signal #{status.termsig} (#{Signal.list.invert[status.termsig]})"
221
- else
222
- "Chef run process exited unsuccessfully (exit code #{status.exitstatus})"
223
- end
224
- raise Exceptions::ChildConvergeError, message
225
- end
226
-
227
-
228
-
229
208
  # Configures the Chef::Cookbook::FileVendor class to fetch file from the
230
209
  # server or disk as appropriate, creates the run context for this run, and
231
210
  # sanity checks the cookbook collection.
@@ -509,7 +488,6 @@ class Chef
509
488
  run_status.exception = e
510
489
  run_failed
511
490
  end
512
- Chef::Application.debug_stacktrace(e)
513
491
  @events.run_failed(e)
514
492
  raise
515
493
  ensure