opscode/chef-docs — pull request #22 by gsandie (2012-12-19 14:26:39+00:00)
Title: Definition syntax fix

Couple of small fixes to the definitions syntax:

* remove a `do` that was present in the definition argument

* update the example definition to have valid syntax, the current example was checking for a value of `params[:enable]` but this isn't what would be passed in, you would have `params[:action]` which would then contain a value of `:enable` (or whatever you've set it to be).