Puppet activity: Get Properties

The Get Properties activity retrieves configuration properties from a Puppet Master or Puppet node.

When successful, the activity stores the configuration properties as a JavaScript array of name-value pairs called puppetProperties. Access this JavaScript array in the sensor script by calling the puppetProperties variable. The activity does not add this variable to the workflow scratchpad.

Table 1. Input variables
Field Description
Puppet master The IP address of the Puppet Master that has the properties you want to retrieve.
Sensor script JavaScript that runs after the command executed by the activity completes. You can use this script to process any data returned by the command.