Really could use some help with the way Puppet uses SSL. In my
environment, I need to have 2 puppetmasters. One of them is
responsible for passing out configurations to production machines, the
second one is responsible for passing out configurations to
development machines. When new systems are built, they have a default
puppet.conf which points them at the production puppetmaster. They
retrieve their config, which includes a puppet.conf that makes sure
they are pointed at the appropriate puppetmaster. I have 3
requirements in this setup.
1) I cannot be generating SSL certs by hand. Autosign is a must.
2) The development puppetmaster has to function as a client of the
production puppetmaster.
3) Nodes which switch from the production puppetmaster to the
development puppetmaster must continue functioning without SSL
complaining.
In 0.24.8 I did this, but it was basically opaque magic to me. I
simply copied over /var/lib/puppet/ssl from the one puppetmaster to
the other before starting any of the puppet daemons, and this worked
out happily.
Now, as I try to set up new 0.25.1 puppetmasters, this is no longer working.
I copied the /var/lib/puppet/ssl/ca directory from my original 0.24.8
puppetmaster, and all my 0.24.8 clients happily switched to the new
0.25.1 puppetmaster. That part was easy. However, nothing I can do
will convince the second 0.25.1 puppetmaster to work as outlined in
the requirements list above.
I've consulted the IRC channel, and learned much about SSL, all to no avail.
Happy to provide config files as needed to help me figure this out.
--Paul
P.S. I would love to buy support for this, but that decision isn't up
to me at the moment.
Douglas Garstang wrote:
> Seems like there are LOTS and LOTS of problems with puppet 0.25.
> I eventually gave up. I could simply NOT get it to work.
Just as another statistical point: I have a 0.25.1 Puppet Master running
on Passenger 2.2.2 with 140 0.24.8 and about 40 0.25.1 clients and they
all work swimmingly. In fact, with 0.25.1, our compile times with
thin_storeconfigs is down to subseconds again, where before with 0.24.8
it would take a good 10-20 seconds.
We now also have Foreman running via Passenger, so I've even fixed the 8
odd clients that had been broken by errant sysadmins.
So, I'm not sure there are LOTS and LOTS of problems.
cYa,
Avi
Douglas Garstang wrote:
> Seems like there are LOTS and LOTS of problems with puppet 0.25.
> I eventually gave up. I could simply NOT get it to work.
Douglas
Can you list out the issues you had? Did you log tickets for them?
If not, could you please do so and adding platform and log/trace
output to the tickets that'd also greatly help.
I'm aware of a number of sites running 0.25.1 without issue and I am
sure we can get you there too!
Regards
James Turnbull
- --
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEVAwUBSvUSHyFa/lDkFHAyAQJlFgf+J925aoJP7IT2sksLo3Gf/BLyN0t/jXY1
kYuhbQ6kOwsVc+cZJl/SQ6biw6nrI43D38audxMywrwTU0XADgVDBDApQ/gzX56E
+T8ah4N5DHseb1P73ZRddrq+NfA+F6Khdjri38waSMLDqigqWUcyy78Cu3uwtnNO
6fJgIoA79JXeojNyTHYrV3ogTqKdh4IjKE7e2dlJ+1DtvGcitb8v+Vw8oMzJ9P6A
UhFgPpCyCR4T+I3ds1nWWKM7RtbECEixGfHGh/graRoTf5CWBfYhfTkkS3mBclOF
HhCG5Mp6IEpYnoEeVE0L4NOdVicFaUn/8L0ToD7sK0L6AwrThd38pA==
=txRC
-----END PGP SIGNATURE-----