#XL Release Chef Plugin
Preface
This document describes the functionality provide by the xlr-chef-plugin
Overview
This module offers a basic interface to Chef functionality on a Chef server as well as Chef Nodes.
Installation
Copy the plugin JAR file into the SERVER_HOME/plugins
directory of XL Release.
Assumptions
- You have the Chef Development Kit installed on the same machine as the XL Release server and you know the path to it. You must configure that path when creating a Workstation CI.
Workstation CI
The Chef plugin can connect to multiple Chef servers or connect to the same server with different shared credentials. In this configuration, the XL Release Server is acting as a Chef Workstation, and needs to have access to the Chef Development Kit (see Assumptions below). The Configuration Item for the Chef Workstation screen looks like the following:
Chef Tasks
Bootstrap Unix Task
The Bootstrap Unix task bootstraps a unix node into your Chef server.
Bootstrap Windows Task
The Bootstrap Windows task bootstraps a windows node into your Chef server.
Client List
The Client List task returns a list of clients from your Chef server.
Node List
The Node List task returns a list of nodes from your Chef server.
Show Node
The Show Node task returns the details of a specified node from your Chef server.
Delete Client
The Delete Client task deletes the client from your Chef server.
Delete Node
The Delete Node task deletes the node from your Chef server.
Cookbook List
The Cookbook List task retrieves a list of the cookbooks in the Chef server.
Set Runlist
The Set Runlist task sets the run_list for a specified node.
Apply Cookbook Unix
The Apply Cookbook Unix task applies a cookbook to a specified unix node.
Apply Cookbook Windows
The Apply Cookbook Windows task applies a cookbook to a specified windows node.
Upload Cookbook
The Upload Cookbook task uploads a cookbook to the Chef server.