Abiquo 4.2

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. In datacenters, the Abiquo Chef integration works with Cloud-init or Cloud-base-init, so you will need compatible templates. In AWS, it uses

Configure Chef Recipes and Roles

The Chef tab is enabled if the enterprise is Chef-enabled and the VM template is marked for Cloud-init support. Before you deploy the VM, you can select from the available roles and recipes. By default, you can select roles. Mark the "Select individual components" checkbox to select individual recipes too. The platform will add your selection to the Virtual Appliance's runlist in order of selection. When you deploy the VM, it will download the roles and recipes, and run them in order.

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. When the VM connects to the Chef Server, it will update the runlist.

See also Abiquo Chef Integration Guide and Troubleshooting Abiquo Chef Integration.

Configure Chef Attributes

The Abiquo Chef integration now supports Chef attributes, which are passed to Chef for your recipes. You can find lists of attributes in the Chef recipe configuration files. See https://docs.chef.io/nodes.html  
  1. Edit the virtual machine and  open the Chef tab at the Attributes page.
  2. Enter the parameters for each recipe in JSON format. 
    • The Chef attributes must be enclosed in "{ }". You must enter a valid JSON document and Abiquo will validate it.
    • Abiquo does not validate the attributes, so check them carefully.
  3. Click Save, which will save the entire virtual machine configuration

Related pages

  • No labels