Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pull the remote file only if we create the directory
- tarball = "kafka-#{node[:kafka][:version]}.tar.gz"
- download_file = "#{node[:kafka][:download_url]}/#{tarball}"
- remote_file "#{Chef::Config[:file_cache_path]}/#{tarball}" do
- source download_file
- mode 00644
- checksum node[:kafka][:checksum]
- ## notifies :run, "execute[tar]", :immediately
- end
Advertisement
Add Comment
Please, Sign In to add comment