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.
- 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
- Run the uninstall command:
sudo ./puppet-enterprise-uninstaller
- Follow the prompts to complete the uninstallation.
- 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>