Skip to content

Instantly share code, notes, and snippets.

@TildeWill
Last active April 21, 2016 16:28
Show Gist options
  • Save TildeWill/0684e0af72eadb9f50374b5d3cce301b to your computer and use it in GitHub Desktop.
Save TildeWill/0684e0af72eadb9f50374b5d3cce301b to your computer and use it in GitHub Desktop.
Chef Recipe for Installing Checkman
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