Install *nix agents with PE package management

Puppet Enterprise (PE) provides its own package management to help you install agents on *nix and macOS nodes. You can use this process with or without internet access.

Before you begin:

If you're installing an agent with a different OS than your primary server, you must declare the corresponding pe_repo class on the primary server, such as pe_repo::platform::el_8_x86_64. You can declare these classes in the console at Node Groups > PE Master > Classes.

If the primary server does not have internet access, download the appropriate agent tarball, and copy the agent tarball to this location on the primary server:

/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-<AGENT_VERSION>

For example, the directory for agent version 8.11.0 is:

/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-8.11.0/

Client URL (curl) and World Wide Web Get (Wget) commands can be used to download PE repo tarballs from PE’s private repository. These commands modify the standard agent install script for specific platforms or air-gapped environments. If you do not have a specific need for these commands, follow the procedure in Install agents with the install script.

 

Related information