Uninstall infrastructure nodes

The puppet-enterprise-uninstaller script is installed on the primary server. You must run the uninstaller script on each infrastructure node you want to uninstall.

By default, the uninstaller removes the software, users, logs, cron jobs, and caches. However, the uninstaller does not remove:

  • Modules
  • Manifests
  • Certificates
  • Databases
  • Configuration files
  • Home directories of any removed users

If you want to uninstall and reinstall a primary server on the same system, use the appropriate Uninstaller options to remove the otherwise untouched files and databases.

  1. On the infrastructure node that you want to uninstall, open the command line as root and navigate to the installer directory at /opt/puppetlabs/bin/puppet-enterprise-uninstaller
  2. Run the uninstall command: sudo ./puppet-enterprise-uninstaller
  3. Follow the prompts to complete the uninstallation.
  4. Remove the infrastructure node's certificate from the Puppet infrastructure configuration by running the following command on the primary server:
    puppet node purge <PE_COMPONENT_CERT_NAME>