Configure puppet code on agents and workstations

To use puppet code on an agent node or on a workstation that is not managed by PE, install the client tools package and configure puppet code on that machine.

Before you begin:
Download and install the client tools package.
  1. On the agent node or workstation, create a config file called puppet code.conf in the client tools directory.
    • For Linux and macOS systems, the default client tools directory is /etc/puppetlabs/client-tools
    • For Windows systems, the default client tools directory is C:\ProgramData\PuppetLabs\client-tools
  2. If this machine is not managed by PE, edit the puppet code.conf file as needed to customize the cacert, token-file, and service-url settings. These must use proper JSON formatting.
    On PE-managed machines, Puppet manages this file for you. Don't manually edit this file on PE-managed machines, because Puppet overwrites your changes the next time it runs. However, you can apply temporary modifications, or use an alternative config file, when Deploy environments with puppet code.

Related information