[Pkg-puppet-devel] Bug#696938: puppet 2.7 using ruby 1.9 (was: fqdn_rand broken)

Sergio Gelato Sergio.Gelato at astro.su.se
Sat Aug 17 19:29:43 UTC 2013


Since I've managed to run into this issue after upgrading a puppet master
server from squeeze to wheezy, I can describe a scenario in which one
may end up accidentally running puppet with ruby 1.9.x.

It's true that the puppet* packages depend on ruby1.8, but the passenger
packages will use /usr/bin/ruby, whatever that points to. (Simple use of
update-alternatives took care of the problem for me.) I'm not using
the new puppetmaster-passenger package (my legacy config still works)
but I've had a quick look at it and failed to spot anything in it that
would force the use of ruby1.8.

There are more problems with puppet 2.7 under ruby 1.9 than the fqdn_rand
issue (which, by the way, is easy to work around at the manifest level by
simply adding 0 to the argument). I also ran into upstream's issue #15575.
Only applying the patch for #8814 is probably not going to be all that
useful.



More information about the Pkg-puppet-devel mailing list