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:
1 2 3 4 5 6 7 8 9
# on puppet master ssh email@example.com puppet node purge $hostnameWithoutFQDN scp /opt/puppetlabs/bin/puppet-enterprise-uninstaller firstname.lastname@example.org:/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.