I hereby claim:
- I am hansnqyr on github.
- I am hanskreuger (https://keybase.io/hanskreuger) on keybase.
- I have a public key whose fingerprint is 5E64 67D5 9627 A4EE 4A56 39B6 FF6E F8C3 5D70 AC5C
To claim this, I am signing this object:
0 |
I hereby claim:
To claim this, I am signing this object:
files_list.each do | filename | | |
file "create file" | |
end | |
^ creates clone | |
files_list.each do | filename | | |
file filename | |
end |
require 'chef/mixin/shell_out' | |
include Chef::Mixin::ShellOut | |
download = %Q[ curl -L --cookie "oraclelicensejdk-7u25-b15-oth-JPR=accept-securebackup-cookie;gpw_e24=http://edelivery.oracle.com" http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-linux-x64.tar.gz -o jdk-7u25-linux-x64.tar.gz ] | |
extract = %Q[ tar xvzf jdk-7u25-linux-x64.tar.gz -C . ] | |
#parent & child pid are the same | |
download_cmd = shell_out(download) | |
puts download_cmd.inspect |