[Pkg-puppet-devel] Bug#593557: puppetmaster: rack config file still has old application name
Sergio Gelato
Sergio.Gelato at astro.su.se
Thu Aug 19 08:55:31 UTC 2010
Package: puppetmaster
Version: 2.6.0-2
Starting with release 2.6.0 of puppet, the main file for puppetmasterd
was renamed from puppet/application/puppetmasterd.rb to
puppet/application/master.rb.
Unfortunately, the rack configuration file (now included in the
puppetmasterd package, at /usr/share/puppet/rack/puppetmasterd/config.ru)
still references the old application name. That means it won't work
unmodified. One has to s/puppetmasterd/master/ in both the require line
and the run line. (I got away with leaving the definition of $0 untouched.)
Administrators who are upgrading an existing working installation are
likely to be surprised by this. In addition to fixing the config.ru
that's in the package, it would be useful to add a debconf note alerting
the administrator to the change.
Also, the README.Debian and README.rack files advise one to use the
[puppetmasterd] stanza in the configuration file. This still works
but generates a warning since [master] is now the preferred name.
More information about the Pkg-puppet-devel
mailing list