Changes between Version 41 and Version 42 of CloudPlugin


Ignore:
Timestamp:
May 11, 2011 12:24:54 AM (3 years ago)
Author:
robguttman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CloudPlugin

    v41 v42  
    170170The {{{name}}} will be used as the option's displayed name and the {{{value}}} will be used as the option's value.  If an {{{order}}} field is provided, it will be used to order the options accordingly (much like custom field ordering). 
    171171 
    172 Specifying {{{roles}}} as a data bag has a special meaning (see the {{{run_list}}} field example above) - chef will be queried for the list of [http://wiki.opscode.com/display/chef/Roles roles] instead of a data bag. 
    173  
    174172===== Field handlers ===== 
    175173A field handler converts a raw chef attribute value into something more human-readable and vice-versa.  For example, the {{{RunListHandler}}} defined above for the {{{run_list}}} field extracts roles from a chef node's run_list and displays them in an easy-to-read way.  It also converts data the other direction - i.e., it converts the list of roles from a web form into the correct format to set the node's {{{run_list}}}.