Skip to content

Files

Latest commit

2e93ad3 · Jul 31, 2013

History

History
13 lines (6 loc) · 614 Bytes

includes_dsl_resource_method_action.rst

File metadata and controls

13 lines (6 loc) · 614 Bytes

The action method is used to define a list of actions that are available to be used in a recipe. Each action must have a corresponding section in a lightweight provider that tells the |chef client| what to do when this action is specified in a recipe. The syntax for the action method is as follows:

actions :action_name, :action_name

where actions is a comma-delimited list of individual actions.