Follow this to install/uninstall Puppet on a client
sudo su curl -k https://puppetserver.yourdomain.com:8140/packages/current/install.bash | bash
For Windows: We have this as part of the imaging process, but there is a similar PS script you can run from your puppet server.
To remove a node:
- For Linux:
# on puppet master ssh firstname.lastname@example.org puppet node purge $hostnameWithoutFQDN scp /opt/puppetlabs/bin/puppet-enterprise-uninstaller email@example.com:/root/ # On node: rm -rf /etc/puppetlabs/puppet/ssl rm -rf /etc/puppetlabs/mcollective/ssl/clients /root/puppet-enterprise-uninstaller
- For Windows: Do the server part except transferring the uninstaller then on the node just use add/remove programs to uninstall.