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?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/950183

Title:
  puppetmaster-passenger postinst creates wrong certificate files and
  puppetmaster vhost if puppet config print has an error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/950183/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to