Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trinitronx/6282553 to your computer and use it in GitHub Desktop.

Select an option

Save trinitronx/6282553 to your computer and use it in GitHub Desktop.
[2013-08-19T23:22:13-07:00] INFO: Processing dmg_package[Sublime Text 2] action install (pivotal_workstation::sublime_text line 3)
[2013-08-19T23:22:13-07:00] DEBUG: Checking for application Sublime Text 2
[2013-08-19T23:22:13-07:00] INFO: Processing remote_file[/var/chef/cache/Sublime Text 2.dmg - Sublime Text 2] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/dmg/providers/package.rb line 35)
[2013-08-19T23:22:13-07:00] DEBUG: touching /var/chef/cache/Sublime Text 2.dmg to create it
[2013-08-19T23:22:13-07:00] INFO: remote_file[/var/chef/cache/Sublime Text 2.dmg - Sublime Text 2] created file /var/chef/cache/Sublime Text 2.dmg
[2013-08-19T23:22:13-07:00] DEBUG: remote_file[/var/chef/cache/Sublime Text 2.dmg - Sublime Text 2] checking for changes
[2013-08-19T23:22:13-07:00] DEBUG: Cache control headers: {}
[2013-08-19T23:22:13-07:00] DEBUG: Sending HTTP Request via GET to c758482.r82.cf2.rackcdn.com:80/Sublime%20Text%202.0.2.dmg
[2013-08-19T23:22:13-07:00] DEBUG: Streaming download from http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.dmg to tempfile /tmp/chef-rest20130819-1051-733ilb
[2013-08-19T23:22:16-07:00] DEBUG: reading modes from /private/var/chef/cache/Sublime Text 2.dmg file
[2013-08-19T23:22:16-07:00] DEBUG: applying mode = 644, uid = 0, gid = 20 to /tmp/chef-rest20130819-1051-733ilb
[2013-08-19T23:22:16-07:00] DEBUG: moving temporary file /tmp/chef-rest20130819-1051-733ilb into place at /private/var/chef/cache/Sublime Text 2.dmg
[2013-08-19T23:22:16-07:00] INFO: remote_file[/var/chef/cache/Sublime Text 2.dmg - Sublime Text 2] updated file contents /var/chef/cache/Sublime Text 2.dmg
[2013-08-19T23:22:16-07:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2013-08-19T23:22:16-07:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2013-08-19T23:22:16-07:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2013-08-19T23:22:16-07:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.
[2013-08-19T23:22:16-07:00] INFO: Processing ruby_block[attach /var/chef/cache/Sublime Text 2.dmg] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/dmg/providers/package.rb line 43)
Checksumming Driver Descriptor Map (DDM : 0)…
Driver Descriptor Map (DDM : 0): verified CRC32 $5D6DB7C0
Checksumming Apple (Apple_partition_map : 1)…
Apple (Apple_partition_map : 1): verified CRC32 $43B7E036
Checksumming disk image (Apple_HFS : 2)…
disk image (Apple_HFS : 2): verified CRC32 $46136643
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
verified CRC32 $E0A97A63
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFS /Volumes/Sublime Text 2
[2013-08-19T23:22:22-07:00] INFO: ruby_block[attach /var/chef/cache/Sublime Text 2.dmg] called
[2013-08-19T23:22:22-07:00] INFO: Processing execute[cp -R '/Volumes/Sublime Text 2/Sublime Text 2.app' '/Applications'] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/dmg/providers/package.rb line 55)
[2013-08-19T23:22:24-07:00] INFO: execute[cp -R '/Volumes/Sublime Text 2/Sublime Text 2.app' '/Applications'] ran successfully
[2013-08-19T23:22:24-07:00] INFO: Processing file[/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/dmg/providers/package.rb line 59)
[2013-08-19T23:22:24-07:00] DEBUG: found target_mode == current_mode, not updating mode
[2013-08-19T23:22:24-07:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2013-08-19T23:22:24-07:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2013-08-19T23:22:24-07:00] INFO: Processing execute[hdiutil detach '/Volumes/Sublime Text 2' || hdiutil detach '/Volumes/Sublime Text 2' -force] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/dmg/providers/package.rb line 70)
[2013-08-19T23:22:24-07:00] INFO: execute[hdiutil detach '/Volumes/Sublime Text 2' || hdiutil detach '/Volumes/Sublime Text 2' -force] ran successfully
[2013-08-19T23:22:24-07:00] INFO: Processing link[/usr/local/bin/subl] action create (pivotal_workstation::sublime_text line 9)
[2013-08-19T23:22:24-07:00] DEBUG: link[/usr/local/bin/subl] created symbolic link from /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl -> /usr/local/bin/subl
[2013-08-19T23:22:24-07:00] INFO: link[/usr/local/bin/subl] created
[2013-08-19T23:22:24-07:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2013-08-19T23:22:24-07:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2013-08-19T23:22:24-07:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2013-08-19T23:22:24-07:00] INFO: Processing directory[/Users/vagrant/Library/Application Support/Sublime Text 2] action create (pivotal_workstation::sublime_text line 22)
================================================================================
Error executing action `create` on resource 'directory[/Users/vagrant/Library/Application Support/Sublime Text 2]'
================================================================================
Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /Users/vagrant/Library/Application Support does not exist, cannot create /Users/vagrant/Library/Application Support/Sublime Text 2
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/sprout-osx-base/libraries/directories.rb
22: directory(File.join(dirs[0..i]), &block)
23: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/sprout-osx-base/libraries/directories.rb:22:in `block in recursive_directories'
directory("/Users/vagrant/Library/Application Support/Sublime Text 2") do
provider Chef::Provider::Directory
action :create
retries 0
retry_delay 2
path "/Users/vagrant/Library/Application Support/Sublime Text 2"
cookbook_name :pivotal_workstation
recipe_name "sublime_text"
owner "vagrant"
end
[2013-08-19T23:22:25-07:00] INFO: Running queued delayed notifications before re-raising exception
[2013-08-19T23:22:25-07:00] DEBUG: Re-raising exception: Chef::Exceptions::EnclosingDirectoryDoesNotExist - directory[/Users/vagrant/Library/Application Support/Sublime Text 2] (pivotal_workstation::sublime_text line 22) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /Users/vagrant/Library/Application Support does not exist, cannot create /Users/vagrant/Library/Application Support/Sublime Text 2
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:241:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:322:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:321:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:321:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:128:in `process_resource_requirements'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:104:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:239:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-solo:25:in `<top (required)>'
/usr/bin/chef-solo:23:in `load'
/usr/bin/chef-solo:23:in `<main>'
[2013-08-19T23:22:25-07:00] ERROR: Running exception handlers
[2013-08-19T23:22:25-07:00] ERROR: Exception handlers complete
[2013-08-19T23:22:25-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-08-19T23:22:25-07:00] DEBUG: Chef::Exceptions::EnclosingDirectoryDoesNotExist: directory[/Users/vagrant/Library/Application Support/Sublime Text 2] (pivotal_workstation::sublime_text line 22) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /Users/vagrant/Library/Application Support does not exist, cannot create /Users/vagrant/Library/Application Support/Sublime Text 2
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:241:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:322:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:321:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/why_run.rb:321:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:128:in `process_resource_requirements'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:104:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:239:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/solo.rb:231:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-solo:25:in `<top (required)>'
/usr/bin/chef-solo:23:in `load'
/usr/bin/chef-solo:23:in `<main>'
[2013-08-19T23:22:25-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Shutdown completed cleanly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment