You can use the Puppet plug-in Hiera workflows to classify nodes on a Puppet Master using Hiera files.

You can find these workflows on the Workflows view of the Orchestrator client, in the Hiera subdirectory of the Puppet plug-in library.

Table 1. Hiera Workflows

Workflow

Description

Classify Node with Hiera

Defines Puppet node classifications using Hiera files.

To run this workflow, complete the following parameters:

  • Add a Puppet Master that was registered in the vRealize Orchestrator inventory in the Puppet Master text box.

  • Select the supported JSON or YAML Hiera backend type for the node classification.

  • Enter the Hiera data directory path.

    The Hiera data directory path is defined in the Hiera configuration file on the Puppet Master under the hierarchy settings.

  • Enter the node name to classify.

  • (Optional) Click Yes to replace the existing classification information.

  • Enter the class for the Puppet node.

    For example, you can use the Apache or Tomcat class.

  • (Optional) Override the default class parameters.

    The class parameter values, Array and Hashes use the JSON format.

Delete Node Hiera

Deletes the Hiera data files from the Hiera data directory.

To run this workflow, complete the following parameters:

  • Add a Puppet Master that was registered in the vRealize Orchestrator inventory in the Puppet Master text box.

  • Select the supported JSON or YAML Hiera backend type for the node classification.

  • Enter the Hiera data directory path.

    The Hiera data directory path is defined in the Hiera configuration file on the Puppet Master under the hierarchy settings.

  • Enter the node name to remove the JSON or YAML Hiera file.