Hypermagnet

Migrating a Puppetmaster

I’ve just about finished up the process of migrating a puppetmaster server, and it was thankfully very easy.

I’d been using subversion to store the puppetmaster manifests, and the main problem I ran into was the same one which hung me up when I first setup puppet: hostnames!

To recap, the server hostname has to be the same reverse dns for the ip address. For example:

user@hostone:/home/user$ hostname
hostone.example.com

dig -x 192.168.123.123
hostone.example.com

Yes, that’s all paraphrased. To make things easier, I removed the existing certificates:

rm -rf /var/lib/puppet/ssl/