Skip to content

Instantly share code, notes, and snippets.

@usualoma
Created November 6, 2015 09:50
Show Gist options
  • Save usualoma/b006bd9db6c2e22d1100 to your computer and use it in GitHub Desktop.
Save usualoma/b006bd9db6c2e22d1100 to your computer and use it in GitHub Desktop.
deb_url = node['mysql-apt']['apt-config-deb-url']
deb_file = "#{Chef::Config[:file_cache_path]}/#{File.basename deb_url}"
remote_file deb_file do
source deb_url
action :create
end
file deb_file do
action :nothing
checksum node['mysql-apt']['apt-config-deb-checksum']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment