Skip to content

Instantly share code, notes, and snippets.

@Aslan
Created March 9, 2010 20:03
Show Gist options
  • Save Aslan/327045 to your computer and use it in GitHub Desktop.
Save Aslan/327045 to your computer and use it in GitHub Desktop.
root@domU-12-31-39-09-C4-F4:~# chef-solo -c ~/solo.rb -j ~/chef.json
[Tue, 09 Mar 2010 12:00:03 -0800] INFO: Starting Chef Solo Run
[Tue, 09 Mar 2010 12:00:07 -0800] INFO: Installing package[runit] version 2.0.0-1ubuntu2
[Tue, 09 Mar 2010 12:00:07 -0800] INFO: remote_file[/tmp/chef-solo/preseed/runit/runit-2.0.0-1ubuntu2.seed]: Creating /tmp/chef-solo/preseed/runit/runit-2.0.0-1ubuntu2.seed
[Tue, 09 Mar 2010 12:00:07 -0800] INFO: Pre-seeding package[runit] with package installation instructions.
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: package[runit] sending run action to execute[start-runsvdir] (immediate)
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Ran execute[start-runsvdir] successfully
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: package[runit] sending nothing action to execute[runit-hup-init] (immediate)
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating directory[/etc/sv/chef-client] at /etc/sv/chef-client
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Setting mode to 755 for directory[/etc/sv/chef-client]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating directory[/etc/sv/chef-client/log] at /etc/sv/chef-client/log
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Setting mode to 755 for directory[/etc/sv/chef-client/log]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating directory[/etc/sv/chef-client/log/main] at /etc/sv/chef-client/log/main
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Setting mode to 755 for directory[/etc/sv/chef-client/log/main]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating template[/etc/sv/chef-client/run] at /etc/sv/chef-client/run
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Setting mode to 755 for template[/etc/sv/chef-client/run]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating template[/etc/sv/chef-client/log/run] at /etc/sv/chef-client/log/run
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Setting mode to 755 for template[/etc/sv/chef-client/log/run]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating a symbolic link from /usr/bin/sv -> /etc/init.d/chef-client for link[/etc/init.d/chef-client]
[Tue, 09 Mar 2010 12:00:13 -0800] INFO: Creating a symbolic link from /etc/sv/chef-client -> /etc/service/chef-client for link[/etc/service/chef-client]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Creating directory[/var/log/chef] at /var/log/chef
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting owner to 0 for directory[/var/log/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting group to 0 for directory[/var/log/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting mode to 755 for directory[/var/log/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Creating directory[/srv/chef] at /srv/chef
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting owner to 0 for directory[/srv/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting group to 0 for directory[/srv/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting mode to 755 for directory[/srv/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Creating directory[/etc/chef] at /etc/chef
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting owner to 0 for directory[/etc/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting group to 0 for directory[/etc/chef]
[Tue, 09 Mar 2010 12:00:15 -0800] INFO: Setting mode to 755 for directory[/etc/chef]
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: Creating template[/etc/chef/client.rb] at /etc/chef/client.rb
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: Setting owner to 0 for template[/etc/chef/client.rb]
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: Setting group to 0 for template[/etc/chef/client.rb]
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: Setting mode to 644 for template[/etc/chef/client.rb]
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: template[/etc/sv/chef-client/run] sending restart action to service[chef-client] (delayed)
[Tue, 09 Mar 2010 12:00:16 -0800] INFO: template[/etc/sv/chef-client/log/run] sending restart action to service[chef-client] (delayed)
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/mixin/command.rb:179:in `handle_command_failures': /etc/init.d/chef-client restart returned 1, expected 0 (Chef::Exceptions::Exec)
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/mixin/command.rb:122:in `run_command'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/provider/service/init.rb:53:in `restart_service'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/provider/service.rb:87:in `action_restart'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/runner.rb:60:in `send'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/runner.rb:60:in `run_action'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/runner.rb:126:in `converge'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/runner.rb:123:in `each'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/runner.rb:123:in `converge'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/client.rb:319:in `converge'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/client.rb:110:in `run_solo'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/application/solo.rb:198:in `run_application'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/application/solo.rb:190:in `loop'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/application/solo.rb:190:in `run_application'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/../lib/chef/application.rb:57:in `run'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/chef-solo:26
from /opt/ruby-enterprise/bin/chef-solo:19:in `load'
from /opt/ruby-enterprise/bin/chef-solo:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment