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#notifies
Sets up a notification that will run a particular action on another resource if and when *this* resource is updated by an action. If the action does not update this resource, the notification never triggers. Only one resource may be specified per notification. `delayed` notifications will only *ever* happen once per resource, so if multiple resources all notify a single resource to perform the same action, the action will only happen once. However, if they ask for different actions, each action will happen once, in the order they were updated. `immediate` notifications will cause the action to be triggered once per notification, regardless of how many other resources have triggered the notification as well.
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-notifies-for-pr
# Commit to gitgit add lib/chef/resource.rbgit commit -m "better docs for Chef::Resource#notifies"
# 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-notifies-for-pr
hub pull-request
# Celebrate!