Current version Abiquo 4.0

Skip to end of metadata
Go to start of metadata

Chef is an infrastructure automation product that uses configuration recipes. You can use Abiquo Chef Integration to deploy a virtual machine that will then configure itself using Chef recipes and roles. Chef-enabled virtual machines are marked with the Chef logo .

Configure Chef Recipes and Roles

The Chef tab is enabled if the enterprise is Chef-enabled and the virtual machine template is Chef-enabled. Before the virtual machine is deployed, you can select from the available roles and recipes. These will be added to the machine's runlist. When the machine is deployed it will download the roles and recipes, and run them in order. Click the Chef tab. By default on this tab you can select roles. Mark the "Select individual components" checkbox to select individual recipes too. The selected recipes will be added to the Virtual Appliance's runlist in order of selection.

To change the order of the runlist, click on the pencil button beside a role or recipe, then edit the order number, then click OK.

Change the Order of Roles and Recipes After Deployment

To change the runlist order after deployment click on the pencil button, then edit the order number, then click OK. The Abiquo Chef Agent will connect to the Chef Server and update the runlist.

See also Configuring and Using Abiquo Chef Integration in the Abiquo HOWTOs and Troubleshooting Abiquo Chef Integration in the Administrator's Guide.

Configure Chef Attributes

The Abiquo Chef integration now supports Chef attributes.  Abiquo can pass configuration attributes to Chef for your recipes. You can find out what attributes are available from the Chef recipe configuration files. See http://docs.opscode.com/chef/essentials_node_object.html 

  • Edit the virtual machine 
  • Open the Chef tab at the Attributes page.
  • Enter the parameters for each recipe in JSON format. 
    • The Chef attributes must be enclosed in "{ }". You must enter a valid JSON document and in version 3.8.5+, Abiquo will validate this.
    • Abiquo does not validate these attributes, so check them carefully.
  • Click Save
    • Note: this will save the entire virtual machine configuration

Labels
  • None