Skip to content

Instantly share code, notes, and snippets.

@brett-petrusek
brett-petrusek / gist:3314f8e5c958434f5aca
Created September 12, 2014 15:05
Installing prereq gems and packages during recipe compile
pkg_gcc = package 'gcc' do
action :nothing
end
pkg_gcc.run_action(:install)
pkg_sqlite = package 'sqlite-devel' do
action :nothing
end
pkg_sqlite.run_action(:install)
@brett-petrusek
brett-petrusek / gist:cbdb54eaed6297f33bd3
Created August 22, 2014 17:59
api-npe1-casszk1-dfw3 converge error
Recipe: bf_introscope_agent::agent_install
* bash[download_agent] action run (skipped due to not_if)
* file[/var/chef/cache/bf_introscope_agent_v1.tar] action create (up to date)
* directory[/mnt/introscope] action create (up to date)
* directory[/usr/local/opt] action create (up to date)
* link[/usr/local/opt/introscope] action create (up to date)
* execute[tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt] action run
================================================================================
Error executing action `run` on resource 'execute[tar xf /var/chef/cache/bf_introscope_agent_v1.tar -C /mnt]'
================================================================================