Query: knife-role
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KNIFE-ROLE(1) Chef Manual KNIFE-ROLE(1)NAMEknife-role - Group common configuration settingsSYNOPSISknife role sub-command (options) ROLE SUB-COMMANDS The following role subcommands are available:LISTknife role list (options) -w, --with-uri Show corresponding URIs List roles.SHOWknife role show ROLE (options) -a, --attribute ATTR Show only one attribute Show a specific role.CREATEknife role create ROLE (options) -d, --description The role description Create a new role.EDITknife role edit ROLE (options) Edit a role.FROM FILEknife role from file FILE (options) Create or update a role from a role Ruby DSL (.rb) or JSON file.DELETEknife role delete ROLE (options) Delete a role.BULK DELETEknife role bulk delete REGEX (options) Delete roles on the Chef Server based on a regular expression. The regular expression (REGEX) should be in quotes, not in //'s.DESCRIPTIONRoles provide a mechanism to group repeated configuration settings. Roles are data structures that contain default_attributes, and over- ride_attributes, which are nested hashes of configuration settings, and a run_list, which is an ordered list of recipes and roles that should be applied to a host by chef-client. default_attributes will be overridden if they conflict with a value on a node that includes the role. Conversely, override_attributes will override any values set on nodes that apply them. When chef-client(8) configures a host, it will "expand" the run_list included in that host's node data. The expansion process will recur- sively replace any roles in the run_list with that role's run_list.SEE ALSOknife-node(1) knife-environment(1) http://wiki.opscode.com/display/chef/Roles http://wiki.opscode.com/display/chef/AttributesAUTHORChef was written by Adam Jacob adam@opscode.com with many contributions from the community.DOCUMENTATIONThis manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu- ment under the terms of the Apache 2.0 License.CHEFKnife is distributed with Chef. http://wiki.opscode.com/display/chef/Home Chef 10.12.0 June 2012 KNIFE-ROLE(1)