Back to Top

Install Chef Solo

Class Name com.midvision.rapiddeploy.plugins.cloudprovisioner.chef.task.InstallChefSolo
Category Chef

Install Chef Solo on target

Description

Runs the Chef client installer on the target system. For Windows machines, the installer has to be attached to the deployment package.

Resources

The following resources may be set on this task:

Table of task Resources

Name Type Default Value Optional Description
failOnError java.lang.Boolean true false This task will not fail the deployment on error if set to false.
installPackagePath java.lang.String Chef-client.msi true This field is for Windows targets only! Specify the relative path of the Chef install package in your deployment package.
skipOnFailure java.lang.String Previous Task Name true Skip current task based on the name of the previous task whether has failed or not.


Back to Top

Run Chef Recipes

Class Name com.midvision.rapiddeploy.plugins.cloudprovisioner.chef.task.RunChefSoloRecipes
Category Chef

Run Chef Solo recipes on target

Prerequisities

Chef Solo is required to be installed on the target system. Chef Solo will be running as 'sudo' on non-windows targets, make sure you login with a user who has the privileges to use sudo.

Description

Runs Chef Solo with the specified recipes.

Resources

The following resources may be set on this task:

Table of task Resources

Name Type Default Value Optional Description
configFile java.lang.String solo.rb false Specify the relative path of the config file for Chef Solo in your deployment package. It contains the configuration of the recipebooks and other resources.
failOnError java.lang.Boolean true false This task will not fail the deployment on error if set to false.
skipOnFailure java.lang.String Previous Task Name true Skip current task based on the name of the previous task whether has failed or not.
taskFile java.lang.String solo.json false Specify the relative path of the task file for Chef Solo in your deployment package. It contains the recipes to run by the Chef Client.