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
# | |
# Cookbook Name:: crm.versapay.com | |
# Recipe:: default | |
# | |
# Copyright 2010, VersaPay Corporation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
*** LOCAL GEMS *** | |
abstract (1.0.0) | |
amqp (0.6.7) | |
bundler (0.9.12) | |
bunny (0.6.0) | |
chef (0.8.6) | |
chef-server (0.8.8, 0.8.6) | |
chef-server-api (0.8.6) |
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
ubuntu@ip-10-162-103-127:~$ sudo chef-client -V -l debug | |
[Thu, 25 Mar 2010 23:10:55 +0000] INFO: Starting Chef Run | |
[Thu, 25 Mar 2010 23:10:56 +0000] INFO: Client key /etc/chef/client.pem is not present - registering | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal | |
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2) | |
[Thu, 25 Mar 2010 23:10:56 +0000] WARN: Failed attempt 0 of 6 on client creation |
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
run/servers.rb:5:in `join': Interrupt | |
from run/servers.rb:5 | |
vendor/gems/ruby/1.8/dirs/donkey/lib/ass/rpc.rb:119:in `wait' | |
vendor/gems/ruby/1.8/dirs/donkey/lib/ass/rpc.rb:35:in `wait' | |
vendor/api/versapay/api.rb:101:in `rpc_call' | |
(eval):2:in `authenticate' | |
app/models/user.rb:34:in `authenticate' | |
app/controllers/user_sessions_controller.rb:11:in `create' | |
vendor/gems/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send' |
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
deploy_revision '/opt/actors' do | |
repo 'git@github.com:project/git-repo.git' | |
deploy_to APP_ROOT | |
branch 'HEAD' | |
user 'root' | |
enable_submodules true | |
environment 'ENV' => 'production' | |
end |
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
/usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node/attribute.rb:387:in `method_missing': Attribute secure_password is not defined! (ArgumentError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node.rb:254:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/node.rb:254:in `method_missing' | |
from /var/lib/chef/cache/cookbooks/mysql/attributes/server.rb:22:in `from_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:83:in `load_attribute_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:76:in `load_attributes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:75:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:75:in `load_attributes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/compile.rb:78:in `load_attributes' | |
... 10 levels... |
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
/var/lib/chef/cache/cookbooks/mysql/attributes/server.rb:20:in `from_file': uninitialized constant Opscode::OpenSSL (NameError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:83:in `load_attribute_file' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:76:in `load_attributes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:75:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook.rb:75:in `load_attributes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/compile.rb:78:in `load_attributes' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook_loader.rb:132:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/cookbook_loader.rb:131:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/compile.rb:77:in `load_attributes' | |
... 7 levels... |
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
merb : worker (port 4000) ~ Started request handling: Tue Apr 13 09:20:57 -0700 2010 | |
merb : worker (port 4000) ~ Routed to: {"format"=>nil, "action"=>"index", "controller"=>"chef_server_api/nodes"} | |
merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"chef_server_api/nodes"} | |
[Tue, 13 Apr 2010 09:20:57 -0700] INFO: Authenticating client Michael-Carrutherss-iMac.local | |
merb : worker (port 4000) ~ Named route chef_server_api_node could not be generated with {:id=>nil} - (Merb::Router::GenerationError) | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/router/route.rb:148:in `generate' | |
/usr/lib/ruby/gems/1.8/gems/merb-slices-1.0.15/lib/merb-slices/controller_mixin.rb:157:in `slice_url' | |
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.6/app/controllers/application.rb:54:in `absolute_slice_url' | |
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.6/app/controllers/nodes.rb:32:in `index' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/mixins/render.rb:1 |
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
File.open('/Users/Michael/Desktop/nginx.conf', 'r+').each_line do |line| | |
line.gsub(/www-data/, 'sam') | |
end |
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
Loading init file from /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.16/config/init-webui.rb | |
Loading /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.16/config/environments/development.rb |
OlderNewer