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

Legacy: Puppet activity: Get Modules

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

Legacy: Puppet activity: Get Modules

The Get Modules activity retrieves a list of the modules that are installed on a Puppet Master or Puppet node.

When successful, the activity stores the modules as a JavaScript array called puppetModules. Access this JavaScript array in the sensor script by calling the puppetModules variable. The activity does not add this variable to the workflow scratchpad.

Each object in the array contains these fields:
  • name: the name of the installed module.
  • path: the path where the module is installed.
Table 1. Input variables
Field Description
Puppet master The IP address of the Puppet Master that contains the module 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.