Created
April 30, 2012 15:10
-
-
Save andrewgross/2559107 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
remote_file "my package" do | |
path tmp_dpkg_location | |
source "http://www.remotesite.com/packages/initial/#{node.appfirst_account_id}/package-#{arch}.#{extention}" | |
ignore_failure true | |
end | |
dpkg_package "my package" do | |
source "#{tmp_dpkg_location}" | |
only_if "ls #{tmp_dpkg_location} > /dev/null" | |
action :install | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment