Skip to content
A cookbook full of things for aiding OSX configuration with chef.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
attributes
definitions
files/default
providers
recipes
resources
.gitignore
LICENSE
README.md

README.md

Chef repository for various OSX related items

History

0.0.1 (master)

attributes

node[:user] # the user you were before SUDO
node[:home] # /Users/youruser/
node[:library] # /Users/youruser/Library

launchctl definition

launchctl "/System/Library/LaunchDaemons/com.apple.locate.plist" do
  not_if "launchctl list | grep locate"
  action :load
  user "root"
end

plist definition

plist "com.apple.Safari" do
  key "IncludeDevelopMenu"
  value 1
  user node[:user]
end 

homebrew LWRP

homebrew "mysql" do
  not_if "test -e /usr/local/bin/mysql"
  action [:install, :uninstall, :upgrade]
end

License

MIT licensed

Copyright (C) 2011 Michael Schubert, http://schubert.cx

Something went wrong with that request. Please try again.