Last active
April 21, 2016 16:28
-
-
Save TildeWill/0684e0af72eadb9f50374b5d3cce301b to your computer and use it in GitHub Desktop.
Chef Recipe for Installing Checkman
This file contains 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 '/tmp/Checkman.zip' do | |
source 'https://raw.githubusercontent.com/cppforlife/checkman/master/bin/Checkman.zip' | |
user node['sprout']['user'] | |
end | |
execute 'Extract Checkman.zip' do | |
cwd "#{node['sprout']['home']}/Applications" | |
user node['sprout']['user'] | |
command 'unzip /tmp/Checkman.zip' | |
not_if { File.exist?("#{node['sprout']['home']}/Applications/Checkman.app") } | |
end | |
execute 'Diable Stickies' do | |
command 'defaults write com.tomato.Checkman stickies.disabled -bool YES' | |
user node['sprout']['user'] | |
end | |
directory "#{node['sprout']['home']}/Checkman" do | |
owner node['sprout']['user'] | |
end | |
template "#{node['sprout']['home']}/Checkman/<MY-PROJECT>.checkfile" do | |
source '<MY-PROJECT>.checkfile' | |
user node['sprout']['user'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment