Skip to content

Instantly share code, notes, and snippets.

@jmcnevin
Created September 15, 2011 16:09
Show Gist options
  • Save jmcnevin/1219673 to your computer and use it in GitHub Desktop.
Save jmcnevin/1219673 to your computer and use it in GitHub Desktop.
[default] [Thu, 15 Sep 2011 18:06:01 +0200] INFO: Processing execute[extract-jruby] action nothing (jruby::default line 16)
: stdout
[default] [Thu, 15 Sep 2011 18:06:01 +0200] INFO: Processing remote_file[/tmp/jruby-bin-1.6.4.tar.gz] action create (jruby::default line 24)
: stdout
[default] [Thu, 15 Sep 2011 18:06:57 +0200] INFO: Chef Run complete in 57.277101 seconds
: stdout
[default] [Thu, 15 Sep 2011 18:06:57 +0200] INFO: Running report handlers
: stdout
[default] [Thu, 15 Sep 2011 18:06:57 +0200] INFO: Report handlers complete
: stdout
execute "extract jruby" do
cwd "/usr/local/lib"
user "root"
group "root"
command "tar -zxf /tmp/#{remote_filename}"
action :nothing
end
remote_file("/tmp/#{remote_filename}") do
source remote_url
notifies :run, "execute[extract jruby]", :immediately
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment