diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-06-22 12:56:47 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-06-22 12:56:47 -0700 |
commit | a0450e11114ad256b9768d248cee5d64059f91e5 (patch) | |
tree | 800bd39bf3daee95f821e8e48dd6d5bed8dcbe1c /lib | |
parent | 9bdcdd7066fb2280fe23e2de65633026710f890d (diff) | |
download | chef-a0450e11114ad256b9768d248cee5d64059f91e5.tar.gz |
Updating to fix a few lingering issues with Merb root
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/config.rb | 3 | ||||
-rw-r--r-- | lib/chef_server/controllers/openid_consumer.rb | 2 | ||||
-rw-r--r-- | lib/chef_server/controllers/openid_server.rb | 2 | ||||
-rw-r--r-- | lib/chef_server/init.rb | 5 | ||||
-rw-r--r-- | lib/chef_server/log/chef-server.log | 434 |
5 files changed, 7 insertions, 439 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 50524fd58b..5ad4cdb2af 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -43,6 +43,7 @@ class Chef :search_index_path => "/var/chef/search_index", :log_level => :info, :log_location => STDOUT, + :merb_log_path => "/var/log/chef/merb.log", :openid_providers => nil, :ssl_verify_mode => :verify_none, :rest_timeout => 60, @@ -50,6 +51,8 @@ class Chef :registration_url => "http://localhost:4000", :openid_url => "http://localhost:4001", :couchdb_database => "chef", + :openid_store_path => "/var/chef/openid/db", + :openid_cstore_path => "/var/chef/openid/cstore", } class << self diff --git a/lib/chef_server/controllers/openid_consumer.rb b/lib/chef_server/controllers/openid_consumer.rb index 1c8b76296c..39e8173f24 100644 --- a/lib/chef_server/controllers/openid_consumer.rb +++ b/lib/chef_server/controllers/openid_consumer.rb @@ -90,7 +90,7 @@ class OpenidConsumer < Application def consumer if @consumer.nil? - dir = Pathname.new(Merb.root).join('db').join('cstore') + dir = Chef::Config[:openid_cstore_path] store = OpenID::Store::Filesystem.new(dir) @consumer = OpenID::Consumer.new(session, store) end diff --git a/lib/chef_server/controllers/openid_server.rb b/lib/chef_server/controllers/openid_server.rb index 665af1fb6d..7c89e33d99 100644 --- a/lib/chef_server/controllers/openid_server.rb +++ b/lib/chef_server/controllers/openid_server.rb @@ -155,7 +155,7 @@ EOS def server if @server.nil? server_url = absolute_url(:openid_server) - dir = Pathname.new(Merb.root).join('db').join('openid-store') + dir = Chef::Config[:openid_store_path] store = OpenID::Store::Filesystem.new(dir) @server = Server.new(store, server_url) end diff --git a/lib/chef_server/init.rb b/lib/chef_server/init.rb index 14029c1295..136ad55e26 100644 --- a/lib/chef_server/init.rb +++ b/lib/chef_server/init.rb @@ -62,7 +62,6 @@ Merb::BootLoader.after_app_loads do # Add dependencies here that must load after the application loads: Chef::Config.from_file(File.join(File.dirname(__FILE__), "..", "..", "config", "chef-server.rb")) Chef::Queue.connect - # dependency "magic_admin" # this gem uses the app's model classes end @@ -88,7 +87,7 @@ Merb.push_path(:controller, File.join(File.dirname(__FILE__), "controllers")) Merb.push_path(:model, File.join(File.dirname(__FILE__), "models")) Merb.push_path(:view, File.join(File.dirname(__FILE__), "views")) Merb.push_path(:helper, File.join(File.dirname(__FILE__), "helpers")) -Merb.push_path(:public, Merb.root_path("public"), nil) +Merb.push_path(:public, File.join(File.dirname(__FILE__), "public")) require 'merb-haml' @@ -121,7 +120,7 @@ Merb::Config.use do |c| c[:exception_details] = true c[:reload_classes] = true c[:log_level] = :debug - c[:log_file] = Merb.log_path + "/chef-server.log" + c[:log_file] = STDOUT end Merb.logger.info("Compiling routes...") diff --git a/lib/chef_server/log/chef-server.log b/lib/chef_server/log/chef-server.log deleted file mode 100644 index bfb7e4e771..0000000000 --- a/lib/chef_server/log/chef-server.log +++ /dev/null @@ -1,434 +0,0 @@ -Mon, 16 Jun 2008 01:37:16 GMT ~ info ~ Logfile created - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ Using Mongrel adapter - ~ Request: - ~ Routed to: {:controller=>"nodes", :action=>"index"} - ~ Controller 'Nodes' not found - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:50:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: - ~ Routed to: {:controller=>"nodes", :action=>"index"} - ~ Controller 'Nodes' not found - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:50:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ Using Mongrel adapter - ~ Request: - ~ Routed to: {:controller=>"nodes", :action=>"index"} - ~ Params: {"action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.386588, :action_time=>0.386157, :before_filters_time=>0.000113, :after_filters_time=>9.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.012587, :action_time=>0.012287, :before_filters_time=>4.0e-05, :after_filters_time=>7.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /registrations - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"openid_register"} - ~ {:dispatch_time=>0.064962, :action_time=>0.064639, :before_filters_time=>3.9e-05, :after_filters_time=>1.2e-05} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.011244, :action_time=>0.011029, :before_filters_time=>3.0e-05, :after_filters_time=>8.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /registrations - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"openid_register"} - ~ {:dispatch_time=>0.01562, :action_time=>0.015291, :before_filters_time=>4.1e-05, :after_filters_time=>8.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.01432, :action_time=>0.014052, :before_filters_time=>5.5e-05, :after_filters_time=>8.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /registrations - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"openid_register"} - ~ {:dispatch_time=>0.014029, :action_time=>0.013795, :before_filters_time=>2.9e-05, :after_filters_time=>1.0e-05} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.012692, :action_time=>0.012386, :before_filters_time=>4.0e-05, :after_filters_time=>9.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ No routes match the request, /stylesheets/master.css - (Merb::ControllerExceptions::NotFound) -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/dispatch/dispatcher.rb:34:in `handle' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/application.rb:53:in `call' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/handler/mongrel.rb:72:in `process' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' -/Library/Ruby/Gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/rack/adapter/mongrel.rb:22:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core/server.rb:44:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/lib/merb-core.rb:36:in `start' -/Library/Ruby/Gems/1.8/gems/merb-core-0.9.3/bin/merb:12 -/usr/bin/merb:19:in `load' -/usr/bin/merb:19 - ~ - - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ Using Mongrel adapter - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.018469, :action_time=>0.018213, :before_filters_time=>3.1e-05, :after_filters_time=>1.2e-05} - ~ - - ~ Request: /stylesheets/master.css - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.013904, :action_time=>0.013629, :before_filters_time=>3.7e-05, :after_filters_time=>9.0e-06} - ~ - - ~ Request: /stylesheets/master.css - ~ Request: /registrations - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"openid_register"} - ~ {:dispatch_time=>0.019964, :action_time=>0.019629, :before_filters_time=>3.4e-05, :after_filters_time=>9.0e-06} - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.014237, :action_time=>0.013883, :before_filters_time=>4.6e-05, :after_filters_time=>9.0e-06} - ~ - - ~ Request: /registrations - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"openid_register"} - ~ {:dispatch_time=>0.020176, :action_time=>0.019838, :before_filters_time=>3.5e-05, :after_filters_time=>1.2e-05} - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.012408, :action_time=>0.012107, :before_filters_time=>4.5e-05, :after_filters_time=>7.0e-06} - ~ - - ~ Request: /nodes/adam - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"show", :id=>"adam"} - ~ Params: {"format"=>nil, "action"=>"show", "id"=>"adam", "controller"=>"nodes"} - ~ {:dispatch_time=>0.03838, :action_time=>0.038078, :before_filters_time=>4.8e-05, :after_filters_time=>1.2e-05} - ~ - - ~ Request: /stylesheets/master.css - ~ Request: /nodes/adam/compile - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"compile", :id=>"adam"} - ~ Params: {"format"=>nil, "action"=>"compile", "id"=>"adam", "controller"=>"nodes"} - ~ {:dispatch_time=>4.73037, :action_time=>4.730021, :before_filters_time=>5.0e-05, :after_filters_time=>1.7e-05} - ~ - - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ Using Mongrel adapter - ~ Request: /nodes/latte_local - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"show", :id=>"latte_local"} - ~ Params: {"format"=>nil, "action"=>"show", "id"=>"latte_local", "controller"=>"nodes"} - ~ {:dispatch_time=>0.00587, :action_time=>0.005648, :before_filters_time=>3.6e-05, :after_filters_time=>7.0e-06} - ~ - - ~ Request: /registrations/latte_local - ~ Routed to: {:controller=>"openid_register", :format=>nil, :action=>"show", :id=>"latte_local"} - ~ Params: {"format"=>nil, "action"=>"show", "id"=>"latte_local", "controller"=>"openid_register"} - ~ #<Chef::OpenIDRegistration:0x12c9420 @validated=true, @couchdb_rev="744961245", @password="31c954f5c3a7681dc17835e300c092519b6c2a09", @salt="Thu Jun 12 14:15:08 -0700 20088jr1S8ApvctBoObFIdkyHrxRB6t1XY", @name="latte_local", @couchdb=#<Chef::CouchDB:0x12c93f8 @rest=#<Chef::REST:0x12c93a8 @cookies={}, @url="http://localhost:5984">>> - ~ {:dispatch_time=>0.017782, :action_time=>0.017557, :before_filters_time=>3.1e-05, :after_filters_time=>1.3e-05} - ~ - - ~ Request: /openid/server/node/latte_local - ~ Routed to: {:controller=>"openid_server", :action=>"node_page", :id=>"latte_local"} - ~ Params: {"action"=>"node_page", "id"=>"latte_local", "controller"=>"openid_server"} - ~ {:dispatch_time=>0.004956, :action_time=>0.004722, :before_filters_time=>3.3e-05, :after_filters_time=>7.0e-06} - ~ - - ~ Request: /openid/server - ~ Routed to: {:controller=>"openid_server", :action=>"index"} - ~ Params: {"openid.session_type"=>"DH-SHA1", "openid.mode"=>"associate", "openid.assoc_type"=>"HMAC-SHA1", "openid.ns"=>"http://specs.openid.net/auth/2.0", "action"=>"index", "openid.dh_consumer_public"=>"Zn3+K7sQLiNqeA4bIeX0eX4zcyaNl0/Scyve/CwPUmX5ycjl9Sb5R1sVzw3x9NsKUIqSTKSD5kfmDNj15ECLWWIuv7m6cPGdhmEf1qZyvfZSEmYV5iEFbm5JopZNQE2FtSI3iQOw0AB00tZEpmDacp39qvv1H110uTs5u2r0SDY=", "controller"=>"openid_server"} - ~ {:dispatch_time=>0.104243, :action_time=>0.103829, :before_filters_time=>1.9e-05, :after_filters_time=>5.0e-06} - ~ - - ~ Request: /openid/consumer/start - ~ Routed to: {:controller=>"openid_consumer", :action=>"start"} - ~ Params: {"submit"=>"Verify", "action"=>"start", "controller"=>"openid_consumer", "openid_identifier"=>"http://localhost:4001/openid/server/node/latte_local"} - ~ Redirecting to: http://localhost:4001/openid/server?openid.assoc_handle=%7BHMAC-SHA1%7D%7B4855c779%7D%7BdTZXcQ%3D%3D%7D&openid.claimed_id=http%3A%2F%2Flocalhost%3A4001%2Fopenid%2Fserver%2Fnode%2Flatte_local&openid.identity=http%3A%2F%2Flocalhost%3A4001%2Fopenid%2Fserver%2Fnode%2Flatte_local&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.realm=http%3A%2F%2Flocalhost%3A4000%2Fopenid%2Fconsumer&openid.return_to=http%3A%2F%2Flocalhost%3A4000%2Fopenid%2Fconsumer%2Fcomplete - ~ {:dispatch_time=>0.270794, :action_time=>0.270403, :before_filters_time=>1.8e-05, :after_filters_time=>1.4e-05} - ~ - - ~ Request: /openid/server - ~ Routed to: {:controller=>"openid_server", :action=>"index"} - ~ Params: {"openid.claimed_id"=>"http://localhost:4001/openid/server/node/latte_local", "openid.mode"=>"checkid_setup", "openid.return_to"=>"http://localhost:4000/openid/consumer/complete", "openid.ns"=>"http://specs.openid.net/auth/2.0", "action"=>"index", "controller"=>"openid_server", "openid.identity"=>"http://localhost:4001/openid/server/node/latte_local", "openid.assoc_handle"=>"{HMAC-SHA1}{4855c779}{dTZXcQ==}", "openid.realm"=>"http://localhost:4000/openid/consumer"} - ~ {:dispatch_time=>0.002846, :action_time=>0.002304, :before_filters_time=>1.8e-05, :after_filters_time=>7.0e-06} - ~ - - ~ Request: /openid/server/decision - ~ Routed to: {:controller=>"openid_server", :action=>"decision"} - ~ Params: {"action"=>"decision", "controller"=>"openid_server", "password"=>"wCFIjJVHS7Nu2OGjW7SFn21HPSHRW1Ci8C6G4plq"} - ~ Redirecting to: http://localhost:4000/openid/consumer/complete?openid.assoc_handle=%7BHMAC-SHA1%7D%7B4855c779%7D%7BdTZXcQ%3D%3D%7D&openid.claimed_id=http%3A%2F%2Flocalhost%3A4001%2Fopenid%2Fserver%2Fnode%2Flatte_local&openid.identity=http%3A%2F%2Flocalhost%3A4001%2Fopenid%2Fserver%2Fnode%2Flatte_local&openid.mode=id_res&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.op_endpoint=http%3A%2F%2Flocalhost%3A4001%2Fopenid%2Fserver&openid.response_nonce=2008-06-16T01%3A52%3A57ZuyqSwR&openid.return_to=http%3A%2F%2Flocalhost%3A4000%2Fopenid%2Fconsumer%2Fcomplete&openid.sig=Zz9S7OR%2FAbC%2FzCHAgceVRSb00Iw%3D&openid.signed=assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned - ~ {:dispatch_time=>0.006955, :action_time=>0.006688, :before_filters_time=>2.1e-05, :after_filters_time=>8.0e-06} - ~ - - ~ Request: /openid/consumer/complete - ~ Routed to: {:controller=>"openid_consumer", :action=>"complete"} - ~ Params: {"openid.claimed_id"=>"http://localhost:4001/openid/server/node/latte_local", "openid.mode"=>"id_res", "openid.return_to"=>"http://localhost:4000/openid/consumer/complete", "openid.sig"=>"Zz9S7OR/AbC/zCHAgceVRSb00Iw=", "openid.ns"=>"http://specs.openid.net/auth/2.0", "openid.op_endpoint"=>"http://localhost:4001/openid/server", "action"=>"complete", "openid.response_nonce"=>"2008-06-16T01:52:57ZuyqSwR", "controller"=>"openid_consumer", "openid.identity"=>"http://localhost:4001/openid/server/node/latte_local", "openid.assoc_handle"=>"{HMAC-SHA1}{4855c779}{dTZXcQ==}", "openid.signed"=>"assoc_handle,claimed_id,identity,mode,ns,op_endpoint,response_nonce,return_to,signed"} - ~ Redirecting to: http://localhost:4000/nodes - ~ {:dispatch_time=>0.004359, :action_time=>0.003761, :before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06} - ~ - - ~ Request: /nodes - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"index"} - ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"nodes"} - ~ {:dispatch_time=>0.012424, :action_time=>0.012216, :before_filters_time=>2.7e-05, :after_filters_time=>1.2e-05} - ~ - - ~ Request: /nodes/latte_local - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"update", :id=>"latte_local"} - ~ Params: {"format"=>nil, "inflated_object"=>#<Chef::Node:0x1a007fc @couchdb_rev="3414278843", @recipe_list=["tempfile", "fakefile"], @attribute={"macosx_productname"=>"Mac OS X", "kernel"=>"Darwin", "sp_current_processor_speed"=>"2.4 GHz", "sp_smc_version"=>"1.27f1", "sp_serial_number"=>"W88153RWYJX", "hardwaremodel"=>"i386", "sp_boot_rom_version"=>"MBP41.00C1.B03", "operatingsystemrelease"=>"9.3.0", "sp_os_version"=>"Mac OS X 10.5.3 (9D34)", "ipaddress"=>"192.168.0.101", "sp_kernel_version"=>"Darwin 9.3.0", "jesse"=>"is neat", "kernelrelease"=>"9.3.0", "sp_boot_mode"=>"normal_boot", "ps"=>"ps -auxwww", "fqdn"=>"latte.local", "sp_uptime"=>"up 13:6:36:0", "macosx_productversion"=>"10.5.3", "sp_packages"=>1, "domain"=>"local", "sp_l2_cache"=>"3 MB", "macosx_buildversion"=>"9D34", "sp_boot_volume"=>"Macintosh HD", "sp_local_host_name"=>"latte", "sp_machine_name"=>"MacBookPro", "sp_bus_speed"=>"800 MHz", "sp_physical_memory"=>"4 GB", "sp_user_name"=>"Adam Jacob (adam)", "sshrsakey"=>"AAAAB3NzaC1yc2EAAAABIwAAAQEAr3ZIJusU+7/cbCyJ3hRp6MmqpmvTPl5beAuergDEcDnJ75xlt+/0V6C7kPmgNY2FMytO0wTj/myAd7Ylf2hVwMRq63Cdb/0LLAln0luiqfcLLQtZFJnhn4txV0RxtdNoaXj7rFohBHIxDJ9EAzWmNSm9tCQOY4ro65qsGLUU4YXfhcLJw4LSbsYJa8jVThb/tbcwZz6D+m4m2/lRvpXhY7cAj/dP12b3DY3v3tKl0GaELZtGuEt49S7SPPq05YfL6X1JfAd6l29FfkxGStMa/K8rg1Hmh0PJM5WQZcm+0tr9nllLLIMMf4rk2JznnFyB64NOMt97qIhtM1v7NP4pgw==", "owner"=>"Adam Jacob", "rubyversion"=>"1.8.6", "sp_cpu_type"=>"Intel Core 2 Duo", "sp_machine_model"=>"MacBookPro4,1", "sp_mmm_entry"=>{"MMM_state"=>"MMM_enabled"}, "hostname"=>"latte", "facterversion"=>"1.3.8", "operatingsystem"=>"Darwin", "macaddress"=>"00:1f:f3:4e:16:ab", "sshdsakey"=>"AAAAB3NzaC1kc3MAAACBAOzWvVwoQ0HQGtXq42x8L8Wn9rgjbVEAx3h3Uu9jMHA6ftZRiSJizgQlnoLjLkAiUARQUEho/TJWdCx/TQkWnIcrGjkPhGrovzq9212w5x8shYA3qPTppwtajenOEKJFjNSqW/i8dHkansUrGv5V49zc9KVfJ+SUkVP3CXAGndTHAAAAFQCG6h9qRnwjUhRYERqx+BJmOr3RCwAAAIByJIWvZ8qeK28S1b+ERfy0+1jVVYCqFkJfuKp3nQLi7bF21w/C0SVf9Nkpo0Ecw7hufGgyCo3XsxayedSrNQgy954aTiyqdCxakhwECIWBaNuWLTRb5oMcbzvkr/JLRNR8cOJrIb5d7KMAGrU29mZ/0smFptikGz2tc1scqP26aQAAAIEA2Gcgs3wsPa36a75qS7mkE8paDAEgiBAq64OUkkLSy6lmNNtGW0IApPYOC91S0L01aODhtJqB2txHOSP6GokxgrKTcoA5fGwYbxrGw7pddCDP+5AU8JghVIwF/Z9hGkhCk2ZQi8YUJW0lpJzEQqZmJ/XShaayeR2kbHOj4/g0BOQ=", "sp_number_processors"=>2}, @name="latte.local", @couchdb=#<Chef::CouchDB:0x1a00630 @rest=#<Chef::REST:0x1a005f4 @cookies={}, @url="http://localhost:5984">>>, "action"=>"update", "id"=>"latte_local", "controller"=>"nodes"} - ~ {:dispatch_time=>0.022162, :action_time=>0.021556, :before_filters_time=>0.000119, :after_filters_time=>8.0e-06} - ~ - - ~ Request: /nodes/latte_local/compile - ~ Routed to: {:controller=>"nodes", :format=>nil, :action=>"compile", :id=>"latte_local"} - ~ Params: {"format"=>nil, "action"=>"compile", "id"=>"latte_local", "controller"=>"nodes"} - ~ {:dispatch_time=>0.35835, :action_time=>0.358026, :before_filters_time=>3.9e-05, :after_filters_time=>1.5e-05} - ~ - - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ {:before_filters_time=>0.000138, :after_filters_time=>9.0e-06, :action_time=>0.001826} - ~ {:before_filters_time=>9.3e-05, :after_filters_time=>9.0e-06, :action_time=>0.000342} - ~ {:before_filters_time=>0.000177, :after_filters_time=>1.0e-05, :action_time=>0.000479} - ~ {:before_filters_time=>0.000149, :after_filters_time=>9.0e-06, :action_time=>0.000427} - ~ {:before_filters_time=>0.000123, :after_filters_time=>1.0e-05, :action_time=>0.000425} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>1.0e-05, :action_time=>0.001232} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>6.0e-06, :action_time=>0.000707} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>7.0e-06, :action_time=>0.000735} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>7.0e-06, :action_time=>0.00067} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>6.0e-06, :action_time=>0.000646} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>6.0e-06, :action_time=>0.000644} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>5.0e-06, :action_time=>0.000634} - ~ Redirecting to: /openid/consumer - ~ {:after_filters_time=>9.0e-06, :action_time=>0.000728} - ~ Using 'share-nothing' cookie sessions (4kb limit per client) - ~ Using 'share-nothing' cookie sessions (4kb limit per client) |