Skip to content

Instantly share code, notes, and snippets.

@Atalanta
Created December 29, 2010 18:27
Show Gist options
  • Save Atalanta/758841 to your computer and use it in GitHub Desktop.
Save Atalanta/758841 to your computer and use it in GitHub Desktop.
[default] [Wed, 29 Dec 2010 10:23:21 -0800] INFO: service[apache2]: restarted successfully
: stdout
[default] [Wed, 29 Dec 2010 10:23:21 -0800] ERROR: template[/etc/apache2/sites-available/smartpages.conf] (/srv/chef/cache/cookbooks/apache2/definitions/web_app.rb:29:in `from_file') had an error:
Cookbook smartpages not found
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook/cookbook_collection.rb:38
/usr/lib/ruby/gems/1.8/gems/extlib-0.9.15/lib/extlib/mash.rb:31:in `call'
/usr/lib/ruby/gems/1.8/gems/extlib-0.9.15/lib/extlib/mash.rb:31:in `default'
/usr/lib/ruby/gems/1.8/gems/extlib-0.9.15/lib/extlib/mash.rb:31:in `default'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:68:in `[]'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:68:in `template_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:39:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:106:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 29 Dec 2010 10:23:21 -0800] ERROR: Running exception handlers
[Wed, 29 Dec 2010 10:23:21 -0800] ERROR: Exception handlers complete
[Wed, 29 Dec 2010 10:23:21 -0800] ERROR: Re-raising exception: Chef::Exceptions::CookbookNotFound - Cookbook smartpages not found
app = node.run_state[:current_app]
include_recipe "apache2"
include_recipe "apache2::mod_wsgi"
server_aliases = [ "#{app['id']}.#{node[:domain]}", node.fqdn ]
if node.has_key?("ec2")
server_aliases << node.ec2.public_hostname
end
web_app app['id'] do
docroot "#{app['deploy_to']}/current/public"
template "#{app['id']}.conf.erb"
cookbook "#{app['id']}"
server_name "#{app['id']}.#{node[:domain]}"
server_aliases server_aliases
log_dir node[:apache][:log_dir]
rails_env node.app_environment
end
d = resources(:deploy => app['id'])
d.restart_command do
service "apache2" do action :restart; end
end
apache_site "000-default" do
enable false
end
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod authz_user] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod authz_user] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/autoindex.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/autoindex.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/autoindex.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/autoindex.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: e9cb738396f1c0f3d6600dbc409609179bd3e0027de99feb4d48f4884494a82d
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: e9cb738396f1c0f3d6600dbc409609179bd3e0027de99feb4d48f4884494a82d
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/autoindex.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod autoindex] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod autoindex] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/dir.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/dir.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/dir.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/dir.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: f8a5bd8912f3c0d8dae4cedde8ed119356d2d7a2bf3482aa9780682dd987b768
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: f8a5bd8912f3c0d8dae4cedde8ed119356d2d7a2bf3482aa9780682dd987b768
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/dir.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod dir] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod dir] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod env] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod env] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/mime.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/mime.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/mime.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/mime.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: 9a71fd10064758569283f8b09df6ad27ac43d324e3cbf6278b1760cf81c76f04
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: 9a71fd10064758569283f8b09df6ad27ac43d324e3cbf6278b1760cf81c76f04
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/mime.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod mime] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod mime] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/negotiation.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/negotiation.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/negotiation.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/negotiation.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: ca1d73cca69b1b83067d24870eb98ccb1f49c952afb1fd94143ddf677199294c
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: ca1d73cca69b1b83067d24870eb98ccb1f49c952afb1fd94143ddf677199294c
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/negotiation.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod negotiation] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod negotiation] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/setenvif.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/setenvif.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/setenvif.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/setenvif.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: 1afe92715257c589c99c702946a0cc73977e457d0b40c2f1389367b5ec2e3a9e
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: 1afe92715257c589c99c702946a0cc73977e457d0b40c2f1389367b5ec2e3a9e
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/setenvif.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod setenvif] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod setenvif] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing service[apache2] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2] using Chef::Provider::Service::Debian
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2] supports status, running
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Executing /etc/init.d/apache2 status
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: ---- Begin output of /etc/init.d/apache2 status ----
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: STDOUT: Apache is running (pid 1811).
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: STDERR:
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: ---- End output of /etc/init.d/apache2 status ----
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Ran /etc/init.d/apache2 status returned 0
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2]: not starting, already running
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing package[libapache2-mod-wsgi] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: package[libapache2-mod-wsgi] using Chef::Provider::Package::Apt
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Checking apt-cache policy for libapache2-mod-wsgi
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current version is 2.8-2ubuntu1
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current version is 2.8-2ubuntu1
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod wsgi] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod wsgi] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/autoindex.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/autoindex.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/autoindex.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/autoindex.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: e9cb738396f1c0f3d6600dbc409609179bd3e0027de99feb4d48f4884494a82d
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: e9cb738396f1c0f3d6600dbc409609179bd3e0027de99feb4d48f4884494a82d
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/autoindex.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod autoindex] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod autoindex] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/dir.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/dir.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/dir.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/dir.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: f8a5bd8912f3c0d8dae4cedde8ed119356d2d7a2bf3482aa9780682dd987b768
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: f8a5bd8912f3c0d8dae4cedde8ed119356d2d7a2bf3482aa9780682dd987b768
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/dir.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod dir] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod dir] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod env] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod env] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/mime.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/mime.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/mime.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/mime.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: 9a71fd10064758569283f8b09df6ad27ac43d324e3cbf6278b1760cf81c76f04
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: 9a71fd10064758569283f8b09df6ad27ac43d324e3cbf6278b1760cf81c76f04
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/mime.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod mime] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod mime] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/negotiation.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/negotiation.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/negotiation.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/negotiation.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: ca1d73cca69b1b83067d24870eb98ccb1f49c952afb1fd94143ddf677199294c
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: ca1d73cca69b1b83067d24870eb98ccb1f49c952afb1fd94143ddf677199294c
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/negotiation.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod negotiation] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod negotiation] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/setenvif.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/setenvif.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/setenvif.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/setenvif.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: 1afe92715257c589c99c702946a0cc73977e457d0b40c2f1389367b5ec2e3a9e
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: 1afe92715257c589c99c702946a0cc73977e457d0b40c2f1389367b5ec2e3a9e
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/setenvif.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod setenvif] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod setenvif] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing service[apache2] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2] using Chef::Provider::Service::Debian
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2] supports status, running
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Executing /etc/init.d/apache2 status
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: ---- Begin output of /etc/init.d/apache2 status ----
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: STDOUT: Apache is running (pid 1811).
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: STDERR:
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: ---- End output of /etc/init.d/apache2 status ----
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Ran /etc/init.d/apache2 status returned 0
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: service[apache2]: not starting, already running
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing package[libapache2-mod-wsgi] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: package[libapache2-mod-wsgi] using Chef::Provider::Package::Apt
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Checking apt-cache policy for libapache2-mod-wsgi
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current version is 2.8-2ubuntu1
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current version is 2.8-2ubuntu1
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod wsgi] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod wsgi] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod rewrite] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/mods-available/deflate.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/deflate.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template mods/deflate.conf.erb in cookbook "apache2"
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Not storing cookbooks/apache2/templates/default/mods/deflate.conf.erb, as the cache is up to date.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Current content's checksum: cdc64b986c02f6e1f71487799febb95bfc4fa4d9231056e1bd09020b0de1d629
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Rendered content's checksum: cdc64b986c02f6e1f71487799febb95bfc4fa4d9231056e1bd09020b0de1d629
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/mods-available/deflate.conf] content has not changed.
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod deflate] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod deflate] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing execute[a2enmod headers] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Skipping execute[a2enmod headers] due to not_if
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: Processing template[/etc/apache2/sites-available/smartpages.conf] on smartpages.test.atalanta-systems.com
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: template[/etc/apache2/sites-available/smartpages.conf] using Chef::Provider::Template
[Wed, 29 Dec 2010 11:17:26 -0800] DEBUG: looking for template smartpages.conf.erb in cookbook "application"
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: template[/etc/apache2/sites-available/smartpages.conf] (/srv/chef/cache/cookbooks/apache2/definitions/web_app.rb:29:in `from_file') had an error:
cookbook application does not contain file templates/smartpages.conf.erb
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:392:in `preferred_manifest_record'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:397:in `preferred_filename_on_disk_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:69:in `template_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:39:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:106:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Running exception handlers
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Exception handlers complete
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Re-raising exception: Chef::Exceptions::FileNotFound - cookbook application does not contain file templates/smartpages.conf.erb
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:392:in `preferred_manifest_record'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:397:in `preferred_filename_on_disk_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:69:in `template_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:39:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:106:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Running exception handlers
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Exception handlers complete
[Wed, 29 Dec 2010 11:17:26 -0800] ERROR: Re-raising exception: Chef::Exceptions::FileNotFound - cookbook application does not contain file templates/smartpages.conf.erb
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:392:in `preferred_manifest_record'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:397:in `preferred_filename_on_disk_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:69:in `template_location'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:39:in `action_create'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:106:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:392:in `preferred_manifest_record': cookbook application does not contain file templates/smartpages.conf.erb (Chef::Exceptions::FileNotFound)
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/cookbook_version.rb:397:in `preferred_filename_on_disk_location'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:69:in `template_location'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/provider/template.rb:39:in `action_create'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `send'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:51:in `run_action'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:109:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:108:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:94
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/runner.rb:82:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:304:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:106:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment