Follow this to install/uninstall Puppet on a client
1a. To Install:
sudo su curl -k https://puppetserver.yourdomain.com:8140/packages/current/install.bash | bash
# 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:
# 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
Do the server part except transferring the uninstaller then on the node just use add/remove programs to uninstall.