Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 412 Bytes
remote_file "#{Chef::Config[:file_cache_path]}/Flux.zip" do
source node["flux_download_uri"]
checksum node["flux_download_checksum"]
mode "0644"
not_if { File.exists?("/Applications/Flux.app") }
end
execute "unzip flux" do
command "unzip -q #{Chef::Config[:file_cache_path]}/Flux.zip Flux.app/* -d /Applications/"
user WS_USER
group "admin"
not_if { File.exists?("/Applications/Flux.app") }
end
Something went wrong with that request. Please try again.