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

Modify the external node classifier script

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

Modify the external node classifier script

Puppet uses an external node classifier (ENC) Python script to determine which node definitions to use.

Before you begin

Role required: puppet_admin

About this task

The instance provides a version of the script that identifies the instance as an external node classifier. An administrator can enable a Puppet Master to use the script.


  1. Navigate to Puppet > ENC Scripts.
  2. Select Alternatively, select to send puppet requests through a proxy server.
  3. [Optional] Modify the Script to use your existing node classifications. A history of modifications to the script appears in the Versions related list.

    To use an outside source for node definitions, modify the default script to use your existing configuration information.

  4. Click Download.
  5. Use a text editor to edit the downloaded file to include your instance name as well as the Puppet user credentials.

    Do not add the credentials to the script before downloading a copy. Adding credentials before downloading the script poses a security risk.

  6. Configure the Puppet Master to use the new file as the external node classifier script.
    For more information, see the Puppet Labs external node documentation.
    Figure 1. Puppet ENC Script