Skip to content

Instantly share code, notes, and snippets.

@patcon
Created April 20, 2011 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patcon/932590 to your computer and use it in GitHub Desktop.
Save patcon/932590 to your computer and use it in GitHub Desktop.
"chef-client -c client.rb -j dna.json" is wonking out
Patrick-Connollys-MacBook-Pro:chef-server-test » vagrant destroy
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
Patrick-Connollys-MacBook-Pro:chef-server-test » vagrant up
[default] Provisioning enabled with chef_server...
[default] Importing base box 'lucid32'...
[default] Matching MAC address for NAT networking...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.0.2
VirtualBox Version: 4.0.4
[default] Running any VM customizations...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] Running provisioner: Vagrant::Provisioners::ChefServer...
[default] Creating folder to hold client key...
[default] Uploading chef client validation key...
[default] Generating chef JSON and uploading...
[default] Running chef-client...
[default] [Wed, 20 Apr 2011 12:45:23 -0700] INFO: Setting the run_list to ["recipe[chef::bootstrap_client]", "role[lamp]"] from JSON
[Wed, 20 Apr 2011 12:45:24 -0700] INFO: Starting Chef Run (Version 0.9.12)
[Wed, 20 Apr 2011 12:45:25 -0700] INFO: Storing updated cookbooks/xml/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/xml/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/xml/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/mysql/resources/database.rb in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/mysql/providers/database.rb in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/mysql/recipes/server_ec2.rb in the cache.
[Wed, 20 Apr 2011 12:45:26 -0700] INFO: Storing updated cookbooks/mysql/recipes/server.rb in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/recipes/client.rb in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/libraries/database.rb in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/attributes/server.rb in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/README.rdoc in the cache.
[Wed, 20 Apr 2011 12:45:27 -0700] INFO: Storing updated cookbooks/mysql/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/mysql/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/resources/pear.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/resources/pear_channel.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/providers/pear.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/providers/pear_channel.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/recipes/module_fpdf.rb in the cache.
[Wed, 20 Apr 2011 12:45:28 -0700] INFO: Storing updated cookbooks/php/recipes/module_apc.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/module_sqlite3.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/module_curl.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/source.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/package.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/module_fileinfo.rb in the cache.
[Wed, 20 Apr 2011 12:45:29 -0700] INFO: Storing updated cookbooks/php/recipes/module_pgsql.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/recipes/module_ldap.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/recipes/module_gd.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/recipes/module_mysql.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/recipes/module_memcache.rb in the cache.
[Wed, 20 Apr 2011 12:45:30 -0700] INFO: Storing updated cookbooks/php/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:31 -0700] INFO: Storing updated cookbooks/php/README.md in the cache.
[Wed, 20 Apr 2011 12:45:31 -0700] INFO: Storing updated cookbooks/php/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:31 -0700] INFO: Storing updated cookbooks/php/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:31 -0700] INFO: Storing updated cookbooks/runit/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:31 -0700] INFO: Storing updated cookbooks/runit/definitions/runit_service.rb in the cache.
[Wed, 20 Apr 2011 12:45:31 : stdout
[default] -0700] INFO: Storing updated cookbooks/runit/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/runit/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/runit/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/zlib/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/zlib/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/zlib/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:32 -0700] INFO: Storing updated cookbooks/daemontools/resources/service.rb in the cache.
[Wed, 20 Apr 2011 12:45:33 -0700] INFO: Storing updated cookbooks/daemontools/providers/service.rb in the cache.
[Wed, 20 Apr 2011 12:45:33 -0700] INFO: Storing updated cookbooks/daemontools/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:33 -0700] INFO: Storing updated cookbooks/daemontools/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:33 -0700] INFO: Storing updated cookbooks/daemontools/README.md in the cache.
[Wed, 20 Apr 2011 12:45:33 -0700] INFO: Storing updated cookbooks/daemontools/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/daemontools/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/couchdb/recipes/source.rb in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/couchdb/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/couchdb/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/couchdb/README.md in the cache.
[Wed, 20 Apr 2011 12:45:34 -0700] INFO: Storing updated cookbooks/couchdb/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/couchdb/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/openssl/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/openssl/libraries/secure_password.rb in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/openssl/README.rdoc in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/openssl/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:35 -0700] INFO: Storing updated cookbooks/openssl/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/recipes/openjdk.rb in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/recipes/sun.rb in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/README.md in the cache.
[Wed, 20 Apr 2011 12:45:36 -0700] INFO: Storing updated cookbooks/java/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/java/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/recipes/cacher.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:37 -0700] INFO: Storing updated cookbooks/apt/README.md in the cache.
[Wed, 20 Apr 2011 12:45:38 -0700] INFO: Storing updated cookbooks/apt/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:38 -0700] INFO: Storing updated cookbooks/apt/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:38 -0700] INFO: Storing updated cookbooks/chef/recipes/bo: stdout
[default] otstrap_server.rb in the cache.
[Wed, 20 Apr 2011 12:45:39 -0700] INFO: Storing updated cookbooks/chef/recipes/server_proxy.rb in the cache.
[Wed, 20 Apr 2011 12:45:39 -0700] INFO: Storing updated cookbooks/chef/recipes/bootstrap_client.rb in the cache.
[Wed, 20 Apr 2011 12:45:39 -0700] INFO: Storing updated cookbooks/chef/recipes/server.rb in the cache.
[Wed, 20 Apr 2011 12:45:39 -0700] INFO: Storing updated cookbooks/chef/recipes/delete_validation.rb in the cache.
[Wed, 20 Apr 2011 12:45:40 -0700] INFO: Storing updated cookbooks/chef/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:40 -0700] INFO: Storing updated cookbooks/chef/recipes/client_service.rb in the cache.
[Wed, 20 Apr 2011 12:45:40 -0700] INFO: Storing updated cookbooks/chef/recipes/client.rb in the cache.
[Wed, 20 Apr 2011 12:45:40 -0700] INFO: Storing updated cookbooks/chef/attributes/server_proxy.rb in the cache.
[Wed, 20 Apr 2011 12:45:41 -0700] INFO: Storing updated cookbooks/chef/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:41 -0700] INFO: Storing updated cookbooks/chef/README.md in the cache.
[Wed, 20 Apr 2011 12:45:41 -0700] INFO: Storing updated cookbooks/chef/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/chef/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/git/recipes/server.rb in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/git/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/git/README.rdoc in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/git/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:42 -0700] INFO: Storing updated cookbooks/git/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:43 -0700] INFO: Storing updated cookbooks/rabbitmq_chef/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:43 -0700] INFO: Storing updated cookbooks/rabbitmq_chef/README.rdoc in the cache.
[Wed, 20 Apr 2011 12:45:43 -0700] INFO: Storing updated cookbooks/rabbitmq_chef/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:43 -0700] INFO: Storing updated cookbooks/rabbitmq_chef/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:43 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_default.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authnz_ldap.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_openid.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_headers.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_mime.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_fcgid.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_dav.rb in the cache.
[Wed, 20 Apr 2011 12:45:44 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_cgi.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_user.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_groupfile.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_digest.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_alias.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_host.rb in the cache.
[Wed, 20 Apr 2011 12:45:45 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_connect.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_log_config.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_svn.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/a: stdout
[default] pache2/recipes/mod_wsgi.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_setenvif.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_env.rb in the cache.
[Wed, 20 Apr 2011 12:45:46 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_dir.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_deflate.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_authn_file.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_status.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_ssl.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_rewrite.rb in the cache.
[Wed, 20 Apr 2011 12:45:47 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy.rb in the cache.
[Wed, 20 Apr 2011 12:45:48 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_php5.rb in the cache.
[Wed, 20 Apr 2011 12:45:48 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_negotiation.rb in the cache.
[Wed, 20 Apr 2011 12:45:48 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_ldap.rb in the cache.
[Wed, 20 Apr 2011 12:45:48 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_autoindex.rb in the cache.
[Wed, 20 Apr 2011 12:45:48 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_python.rb in the cache.
[Wed, 20 Apr 2011 12:45:49 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_ajp.rb in the cache.
[Wed, 20 Apr 2011 12:45:49 -0700] INFO: Storing updated cookbooks/apache2/recipes/god_monitor.rb in the cache.
[Wed, 20 Apr 2011 12:45:49 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_balancer.rb in the cache.
[Wed, 20 Apr 2011 12:45:49 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_expires.rb in the cache.
[Wed, 20 Apr 2011 12:45:49 -0700] INFO: Storing updated cookbooks/apache2/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_http.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_basic.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/definitions/apache_conf.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/definitions/apache_module.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/definitions/web_app.rb in the cache.
[Wed, 20 Apr 2011 12:45:50 -0700] INFO: Storing updated cookbooks/apache2/definitions/apache_site.rb in the cache.
[Wed, 20 Apr 2011 12:45:51 -0700] INFO: Storing updated cookbooks/apache2/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:51 -0700] INFO: Storing updated cookbooks/apache2/README.rdoc in the cache.
[Wed, 20 Apr 2011 12:45:51 -0700] INFO: Storing updated cookbooks/apache2/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:51 -0700] INFO: Storing updated cookbooks/apache2/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:51 -0700] INFO: Storing updated cookbooks/build-essential/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/build-essential/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/build-essential/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/ucspi-tcp/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/ucspi-tcp/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/ucspi-tcp/README.md in the cache.
[Wed, 20 Apr 2011 12:45:52 -0700] INFO: Storing updated cookbooks/ucspi-tcp/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/ucspi-tcp/metadata.json in the ca: stdout
[default] che.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/erlang/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/erlang/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/erlang/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/erlang/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:53 -0700] INFO: Storing updated cookbooks/bluepill/resources/service.rb in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/providers/service.rb in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/recipes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/attributes/default.rb in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/README.md in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/metadata.rb in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] INFO: Storing updated cookbooks/bluepill/metadata.json in the cache.
[Wed, 20 Apr 2011 12:45:54 -0700] WARN: Missing gem 'mysql'
: stdout
[default] [Wed, 20 Apr 2011 12:45:59 -0700] INFO: Installing package[mysql-devel] version 5.1.41-3ubuntu12.8
: stdout
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures': stderr
[default] : apt-get -q -y install libmysqlclient-dev=5.1.41-3ubuntu12.8 returned 100, expected 0 (Chef::Exceptions::Exec)
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/package/apt.rb:68:in `install_package'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/package.rb:60:in `action_install'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `send'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `run_action'
from /srv/chef/cache/cookbooks/mysql/recipes/client.rb:41:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
from /srv/chef/cache/cookbooks/mysql/recipes/server.rb:20:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:94:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:91:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/run_context.rb:55:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:166:in `new'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:166:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:222:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
: stderr
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-chef
chef-client -c client.rb -j dna.json
The output of the command prior to failing is outputted below:
[no output]
Patrick-Connollys-MacBook-Pro:chef-server-test » 231 ↵
@roman
Copy link

roman commented May 9, 2011

Were you able to solve this issue? Kind of having the same issue in my vagrant box :-(

@roman
Copy link

roman commented May 9, 2011

After some more googling I found this

=> http://stackoverflow.com/questions/5339690/installing-multiple-packages-via-vagrant-chef

That's doing the trick :-)

If it was useful to you, don't forget to upvote in StackOverflow

@patcon
Copy link
Author

patcon commented May 30, 2011

Oh hey, never said thanks, so... THANKS! I eventually figured it out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment