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.
Download and install the client tools package.
- On the agent node or workstation, create a config file called
puppet-code.confin 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
- For Linux and macOS systems, the default client
tools directory is
- If this machine is not managed by PE, edit the
puppet-code.conffile as needed to customize thecacert,token-file, andservice-urlsettings. 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 Deploying environments with puppet-code.






