chef 10.14.4.rc.0 → 10.14.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) 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 +0 -182
  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 +4 -4
  9. data/distro/common/html/knife-client.1.html +4 -4
  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 +7 -7
  13. data/distro/common/html/knife-data-bag.1.html +3 -3
  14. data/distro/common/html/knife-environment.1.html +6 -6
  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 +3 -3
  18. data/distro/common/html/knife-role.1.html +6 -6
  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 +4 -4
  22. data/distro/common/html/knife-tag.1.html +4 -4
  23. data/distro/common/html/knife.1.html +11 -11
  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/provider/deploy.rb +5 -3
  50. data/lib/chef/version.rb +1 -1
  51. data/spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb +15 -4
  52. data/spec/unit/provider/deploy_spec.rb +0 -3
  53. metadata +8 -12
@@ -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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-SSH" "1" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-STATUS" "1" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "KNIFE\-TAG" "1" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "KNIFE" "1" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "SHEF" "1" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-CLIENT" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-EXPANDER" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-EXPANDERCTL" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SERVER\-WEBUI" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SERVER" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SOLO" "8" "September 2012" "Chef 10.14.4" "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" "September 2012" "Chef 10.14.4.rc.0" "Chef Manual"
4
+ .TH "CHEF\-SOLR" "8" "September 2012" "Chef 10.14.4" "Chef Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBchef\-solr\fR \- Runs as Chef\'s search server
@@ -408,9 +408,11 @@ class Chef
408
408
  end
409
409
 
410
410
  def run_callback_from_file(callback_file)
411
- Dir.chdir(release_path) do
412
- Chef::Log.info "#{@new_resource} queueing checkdeploy hook #{callback_file}"
413
- recipe_eval { from_file(callback_file) if ::File.exist?(callback_file) }
411
+ Chef::Log.info "#{@new_resource} queueing checkdeploy hook #{callback_file}"
412
+ recipe_eval do
413
+ Dir.chdir(release_path) do
414
+ from_file(callback_file) if ::File.exist?(callback_file)
415
+ end
414
416
  end
415
417
  end
416
418
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  class Chef
19
19
  CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
20
- VERSION = '10.14.4.rc.0'
20
+ VERSION = '10.14.4'
21
21
  end
22
22
 
23
23
  # NOTE: the Chef::Version class is defined in version_class.rb
@@ -98,7 +98,7 @@ describe Chef::Formatters::ErrorInspectors::CompileErrorInspector do
98
98
  before do
99
99
  Chef::Config.stub!(:cookbook_path).and_return([ "C:/opscode/chef/var/cache/cookbooks" ])
100
100
  recipe_lines = BAD_RECIPE.split("\n").map {|l| l << "\n" }
101
- IO.should_receive(:readlines).with("C:/opscode/chef/var/cache/cookbooks/foo/recipes/default.rb").and_return(recipe_lines)
101
+ IO.should_receive(:readlines).at_least(1).times.with(/:\/opscode\/chef\/var\/cache\/cookbooks\/foo\/recipes\/default.rb/).and_return(recipe_lines)
102
102
  @trace = [
103
103
  "C:/opscode/chef/var/cache/cookbooks/foo/recipes/default.rb:14 in `from_file'",
104
104
  "C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.0/lib/chef/run_context.rb:144:in `rescue in block in load_libraries'",
@@ -128,9 +128,20 @@ describe Chef::Formatters::ErrorInspectors::CompileErrorInspector do
128
128
  @inspector.add_explanation(@description)
129
129
  end
130
130
 
131
- it "finds the culprit recipe name from the stacktrace" do
132
- @inspector.culprit_file.should == "C:/opscode/chef/var/cache/cookbooks/foo/recipes/default.rb"
133
- end
131
+
132
+ describe "and examining the stack trace for a recipe" do
133
+ it "find the culprit recipe name when the drive letter is upper case" do
134
+ @inspector.culprit_file.should == "C:/opscode/chef/var/cache/cookbooks/foo/recipes/default.rb"
135
+ end
136
+
137
+ it "find the culprit recipe name when the drive letter is lower case" do
138
+ @trace.each { |line| line.gsub!(/^C:/, "c:") }
139
+ @exception.set_backtrace(@trace)
140
+ @inspector = described_class.new(@path, @exception)
141
+ @inspector.add_explanation(@description)
142
+ @inspector.culprit_file.should == "c:/opscode/chef/var/cache/cookbooks/foo/recipes/default.rb"
143
+ end
144
+ end
134
145
 
135
146
  it "finds the line number of the error from the stack trace" do
136
147
  @inspector.culprit_line.should == 14
@@ -47,7 +47,6 @@ describe Chef::Provider::Deploy do
47
47
  before do
48
48
  FileUtils.should_receive(:mkdir_p).with(@resource.deploy_to).ordered
49
49
  FileUtils.should_receive(:mkdir_p).with(@resource.shared_path).ordered
50
- ::Dir.should_receive(:chdir).with(@expected_release_dir).exactly(4).times
51
50
  ::File.stub!(:directory?).and_return(false)
52
51
  @provider.stub(:symlink)
53
52
  @provider.stub(:migrate)
@@ -80,7 +79,6 @@ describe Chef::Provider::Deploy do
80
79
  end
81
80
 
82
81
  it "ensures the deploy_to dir ownership after the verfication that it exists" do
83
- ::Dir.should_receive(:chdir).with(@expected_release_dir).exactly(4).times
84
82
  @provider.should_receive(:verify_directories_exist).ordered
85
83
  @provider.should_receive(:enforce_ownership).ordered
86
84
  @provider.stub(:copy_cached_repo)
@@ -303,7 +301,6 @@ describe Chef::Provider::Deploy do
303
301
  # CHEF-3449 #converge_by is called in #recipe_eval and must happen in sequence
304
302
  # with the other calls to #converge_by to keep the train on the tracks
305
303
  it "evaluates a callback file before the corresponding step" do
306
- ::Dir.should_receive(:chdir).with(@expected_release_dir).exactly(4).times.and_yield
307
304
  @provider.should_receive(:verify_directories_exist)
308
305
  @provider.should_receive(:update_cached_repo)
309
306
  @provider.should_receive(:enforce_ownership)
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3387315844
5
- prerelease: 8
4
+ hash: 127
5
+ prerelease:
6
6
  segments:
7
7
  - 10
8
8
  - 14
9
9
  - 4
10
- - rc
11
- - 0
12
- version: 10.14.4.rc.0
10
+ version: 10.14.4
13
11
  platform: ruby
14
12
  authors:
15
13
  - Adam Jacob
@@ -17,7 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2012-09-24 00:00:00 Z
18
+ date: 2012-09-27 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
21
  name: mixlib-config
@@ -1413,14 +1411,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1413
1411
  required_rubygems_version: !ruby/object:Gem::Requirement
1414
1412
  none: false
1415
1413
  requirements:
1416
- - - ">"
1414
+ - - ">="
1417
1415
  - !ruby/object:Gem::Version
1418
- hash: 25
1416
+ hash: 3
1419
1417
  segments:
1420
- - 1
1421
- - 3
1422
- - 1
1423
- version: 1.3.1
1418
+ - 0
1419
+ version: "0"
1424
1420
  requirements: []
1425
1421
 
1426
1422
  rubyforge_project: