Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.6

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.

Edit VM to add Chef recipes and roles to automate configuration

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 recipes in a Chef runlist

If you change the runlist after deploy, Abiquo will update the Chef server, and your Chef-client recipe can obtain these changes from the Chef server.

Related links:

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

Add attributes for the Chef recipes that will run on your VM

Related pages

  • No labels