Download and install agents using Puppet Plan

You can use the Puppet Enterprise (PE) console to download and install agents for your specified platform. To download and install an agent:

  1. Go to ORCHESTRATION > Plans.
  2. In the Plans text field add enterprise_tasks::add_platforms.
  3. Under Plan parameters  enter parameters and values for your plan. See Puppet Plan parameters and Puppet Plan parameters and possible values to fetch a Puppet agent.
  4. Run the plan to download the Puppet agent.
  5. SSH into the agent node you want to upgrade.
  6. Run the install script command to install the agent:
    cacert="$(puppet config print localcacert)"
    uri="https://$(puppet config print server):8140/packages/current/install.bash"
    
    curl --cacert "$cacert" "$uri" | sudo bash