Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Chef activity: Get Cookbooks

Log in to subscribe to topics and get notified when content changes.

Chef activity: Get Cookbooks

The Get Cookbooks activity retrieves name and version information about cookbooks installed on a Chef server.

The activity stores the retrieved cookbook information in the cookbooks sensor script variable as an array of JavaScript objects. Each object in the array contains the following fields:

Table 1. Array object fields
Object Definition
name The name of the cookbook
version The version of the cookbook

For more information, see the Chef cookbook documentation.

Table 2. Results table
Result Definition
Success The Chef request was successful
Failure The Chef request failed, the Chef server was unavailable, or the Chef server rejected the supplied credentials

The Get Cookbooks activity uses only shared input variables.