Comment 4 for bug 950183

Revision history for this message
Glenn Aaldering (glennaaldering) wrote :

Yeah, that does the trick. Replace "puppet config print" in the postinst with "puppet --configprint" and this bug can be resolved:

root@host:/etc# dpkg -i puppetmaster-passenger_2.7.11-1_all.deb
Selecting previously unselected package puppetmaster-passenger.
(Reading database ... 25803 files and directories currently installed.)
Unpacking puppetmaster-passenger (from puppetmaster-passenger_2.7.11-1_all.deb) ...
Setting up puppetmaster-passenger (2.7.11-1) ...
err: Could not parse /etc/puppet/puppet.conf: Could not match line bla at /etc/puppet/puppet.conf:bla
notice: Signed certificate request for ca
notice: Rebuilding inventory file
notice: host.example.com has a waiting certificate request
notice: Signed certificate request for host.example.com
notice: Removing file Puppet::SSL::CertificateRequest host.example.com at '/etc/puppet/ssl/ca/requests/host.example.com.pem'
notice: Removing file Puppet::SSL::CertificateRequest host.example.com at '/etc/puppet/ssl/certificate_requests/host.example.com.pem'
Module ssl already enabled
Enabling site puppetmaster.
To activate the new configuration, you need to run:
  service apache2 reload
 * Restarting web server apache2 ... waiting

Maybe someone else knows why the error is still in the output though?