Created
June 10, 2010 22:40
-
-
Save spidaman/433743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.box = "krux_dev_0_1" | |
config.chef.chef_server_url = "http://192.168.56.103:4000" | |
config.chef.validation_key_path = "validation.pem" | |
config.chef.run_list = [ "role[kitchen_sink]" ] | |
config.vm.provisioner = :chef_server | |
config.ssh.private_key_path=File.expand_path('~/.ssh/id_rsa-krux-dev-vbox') | |
config.vm.project_directory = "/krux" | |
end | |
... on the chef server, I get this logged: | |
2010-06-10_22:36:14.09948 merb : worker (port 4000) ~ Started request handling: Thu Jun 10 15:36:14 -0700 2010 | |
2010-06-10_22:36:14.09952 merb : worker (port 4000) ~ Params: {"name"=>"client", "action"=>"create", "admin"=>false, "controller"=>"chef_server_api/clients"} | |
2010-06-10_22:36:14.09953 INFO: Authenticating client chef-validator | |
2010-06-10_22:36:14.11198 merb : worker (port 4000) ~ Client already exists - (Merb::ControllerExceptions::Conflict) | |
2010-06-10_22:36:14.11200 /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.16/app/controllers/clients.rb:66:in `create' | |
2010-06-10_22:36:14.11201 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in `send' | |
2010-06-10_22:36:14.11201 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action' | |
2010-06-10_22:36:14.11207 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch' | |
2010-06-10_22:36:14.11248 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch' | |
2010-06-10_22:36:14.11249 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action' | |
2010-06-10_22:36:14.11249 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:74:in `handle' | |
2010-06-10_22:36:14.11249 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:36:in `handle' | |
2010-06-10_22:36:14.11250 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/application.rb:17:in `call' | |
2010-06-10_22:36:14.11250 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/middleware/static.rb:28:in `call' | |
2010-06-10_22:36:14.11252 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in `pre_process' | |
2010-06-10_22:36:14.11252 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch' | |
2010-06-10_22:36:14.11253 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process' | |
2010-06-10_22:36:14.11253 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process' | |
2010-06-10_22:36:14.11254 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data' | |
2010-06-10_22:36:14.11254 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine' | |
2010-06-10_22:36:14.11254 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run' | |
2010-06-10_22:36:14.11255 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start' | |
2010-06-10_22:36:14.11255 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start' | |
2010-06-10_22:36:14.11255 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/thin.rb:30:in `start_server' | |
2010-06-10_22:36:14.11256 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:296:in `start_at_port' | |
2010-06-10_22:36:14.11257 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:128:in `start' | |
2010-06-10_22:36:14.11257 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:174:in `bootup' | |
2010-06-10_22:36:14.11258 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:42:in `start' | |
2010-06-10_22:36:14.11258 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core.rb:173:in `start' | |
2010-06-10_22:36:14.11258 /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.16/bin/chef-server:77 | |
2010-06-10_22:36:14.11259 /usr/bin/chef-server:19:in `load' | |
2010-06-10_22:36:14.11259 /usr/bin/chef-server:19 | |
2010-06-10_22:36:14.11259 merb : worker (port 4000) ~ Params: {"name"=>"client", "action"=>"create", "admin"=>false, "controller"=>"chef_server_api/clients"} | |
2010-06-10_22:36:14.11260 merb : worker (port 4000) ~ | |
2010-06-10_22:36:14.11260 | |
2010-06-10_22:36:14.14512 merb : worker (port 4000) ~ Started request handling: Thu Jun 10 15:36:14 -0700 2010 | |
2010-06-10_22:36:14.14515 merb : worker (port 4000) ~ Params: {"name"=>"client", "private_key"=>true, "admin"=>false, "action"=>"update", "id"=>"client", "controller"=>"chef_server_api/clients"} | |
2010-06-10_22:36:14.14516 INFO: Authenticating client chef-validator | |
2010-06-10_22:36:14.15133 merb : worker (port 4000) ~ You are not allowed to take this action. - (Merb::ControllerExceptions::Unauthorized) | |
2010-06-10_22:36:14.15136 /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.16/app/controllers/application.rb:87:in `is_admin' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment