chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Resource.provides
Mark this resource as providing particular DSL. Resources have an automatic DSL based on their resource_name, equivalent to `provides :resource_name` (providing the resource on all OS's). If you declare a `provides` with the given resource_name, it *replaces* that provides (so that you can provide your resource DSL only on certain OS's).
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/resource.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Resource-provides-for-pr
# Commit to gitgit add lib/chef/resource.rbgit commit -m "better docs for Chef::Resource.provides"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Resource-provides-for-pr
hub pull-request
# Celebrate!