From 1a6deb8b0a7a68ef491ad468bb5af6eae0f330b1 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Fri, 6 Jan 2023 12:13:31 +0100 Subject: [PATCH] document how to change puppet server --- admin-guide/puppet/development.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/admin-guide/puppet/development.rst b/admin-guide/puppet/development.rst index 2eb7f661..e6b95d5a 100644 --- a/admin-guide/puppet/development.rst +++ b/admin-guide/puppet/development.rst @@ -50,3 +50,14 @@ And should then be passed in the command like:: sshfs -o idmap=file,uidfile=/Users/talamoig/uidmap,nomap=ignore,ProxyJump=wmgt01.psi.ch talamo_i@puppet01:/ ~/puppetenvs +Attach Node to Different Puppet Server +-------------------------------------- + +For testing purpose you might change the Puppet server to which a test node is attached to. To do so do, change the ``server`` in the ``[main]`` section of ``/etc/puppetlabs/puppet/puppet.conf`` accordingly. + +Then delete the current host and CA certficate and the CRL: + + #. ``rm /etc/puppetlabs/puppet/ssl/certs/*`` + #. ``rm /etc/puppetlabs/puppet/ssl/crl.pem`` + +Finally run the puppet agent again.