Skip to content
Browse files

Add initial config plist

  • Loading branch information...
1 parent f1f247d commit 09dd429a49cab6b3b2200b87f69c5cff47eedd35 @mattheath mattheath committed Feb 4, 2013
Showing with 7 additions and 0 deletions.
  1. BIN files/default/com.lightheadsw.Caffeine.plist
  2. +7 −0 recipes/caffeine.rb
View
BIN files/default/com.lightheadsw.Caffeine.plist
Binary file not shown.
View
7 recipes/caffeine.rb
@@ -18,6 +18,13 @@
not_if { File.exists?(node["caffeine_app_path"]) }
end
+cookbook_file "/Users/#{WS_USER}/Library/Preferences/com.lightheadsw.Caffeine.plist" do
+ source "com.lightheadsw.Caffeine.plist"
+ mode 0644
+ owner WS_USER
+ group "admin"
+end
+
ruby_block "test to see if Caffeine.app was installed" do
block do
raise "Caffeine.app was not installed" unless File.exists?(node["caffeine_app_path"])

0 comments on commit 09dd429

Please sign in to comment.
Something went wrong with that request. Please try again.