Skip to content

Instantly share code, notes, and snippets.

@biilmann
Created June 15, 2010 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biilmann/439218 to your computer and use it in GitHub Desktop.
Save biilmann/439218 to your computer and use it in GitHub Desktop.
bash "Untar narwhal" do
cwd narwhal[:untar]
code "tar xzf #{narwhal[:file]}"
action :nothing
end
# Download narwhal
remote_file narwhal[:file] do
source narwhal[:link]
checksum narwhal[:sha]
notifies :run, resources(:bash => "Untar narwhal"), :immediately
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment