Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.5.2
-
Fix Version/s: 0.7.6
-
Component/s: Chef Client, Chef Server
-
Labels:None
-
Environment:
running against chef head 0.5.3
Description
bash-3.2# find .
.
./files
./files/default
./files/default/.vimrc
./recipes
./recipes/default.rb
bash-3.2# cat recipes/default.rb
remote_file "/tmp/vimrc" do
source ".vimrc"
owner "aj"
group "staff"
end
client stack:
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: Processing remote_file[/tmp/vimrc]
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: remote_file[/tmp/vimrc] using Chef::Provider::RemoteFile
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: Checking remote_file[/tmp/vimrc] for changes
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: Sending HTTP Request via GET to /cookbooks/testing/files?id=.vimrc&platform=mac_os_x&version=10.5.6&fqdn=123-100-101-20.maxnet.net.nz&checksum=8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: /cookbooks/testing/files?id=.vimrc&platform=mac_os_x&version=10.5.6&fqdn=123-100-101-20.maxnet.net.nz&checksum=8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3 30% done (880 of 2865)
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: /cookbooks/testing/files?id=.vimrc&platform=mac_os_x&version=10.5.6&fqdn=123-100-101-20.maxnet.net.nz&checksum=8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3 66% done (1904 of 2865)
[Tue, 03 Feb 2009 16:25:45 +1300] DEBUG: /cookbooks/testing/files?id=.vimrc&platform=mac_os_x&version=10.5.6&fqdn=123-100-101-20.maxnet.net.nz&checksum=8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3 100% done (2865 of 2865)
[Tue, 03 Feb 2009 16:25:45 +1300] ERROR: remote_file[/tmp/vimrc] (/Library/Ruby/Gems/1.8/gems/chef-0.5.3/lib/chef/recipe.rb line 182) had an error:
404 "Not Found"
server stack:
merb : worker (port 4000) ~ Routed to: {"format"=>nil, "platform"=>"mac_os_x", "cookbook_id"=>"testing", "fqdn"=>"123-100-101-20.maxnet.net.nz", "action"=>"index", "id"=>".vimrc", "controller"=>"cookbook_files", "version"=>"10.5.6", "checksum"=>"8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3"}
merb : worker (port 4000) ~ Params: {"format"=>nil, "platform"=>"mac_os_x", "cookbook_id"=>"testing", "fqdn"=>"123-100-101-20.maxnet.net.nz", "action"=>"index", "id"=>".vimrc", "controller"=>"cookbook_files", "version"=>"10.5.6", "checksum"=>"8b9cc46b38e14b05362b1acbd165d61480e1d9da521cfad889bee437a225c7e3"}
merb : worker (port 4000) ~ Cannot find a suitable file! - (Merb::ControllerExceptions::NotFound)
/Library/Ruby/Gems/1.8/gems/chef-server-0.5.3/bin/../lib/controllers/cookbook_files.rb:55:in `show'
/Library/Ruby/Gems/1.8/gems/chef-server-0.5.3/bin/../lib/controllers/cookbook_files.rb:37:in `index'
This one looks simple but complex?
Thoughts?