chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Provider::Service::Macosx#enable_service
On OS/X, enabling a service has the side-effect of starting it, and disabling a service has the side-effect of stopping it. This makes some sense on OS/X since launchctl is an "init"-style supervisor that will restart daemons that are crashing, etc.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/provider/service/macosx.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Provider--Service--Macosx-enable_service-for-pr
# Commit to gitgit add lib/chef/provider/service/macosx.rbgit commit -m "better docs for Chef::Provider::Service::Macosx#enable_service"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Provider--Service--Macosx-enable_service-for-pr
hub pull-request
# Celebrate!