Created
September 15, 2011 16:09
-
-
Save jmcnevin/1219673 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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