Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (12 sloc) 0.412 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
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.