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?
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 passenger. passenger (from puppetmaster- passenger_ 2.7.11- 1_all.deb) ... passenger (2.7.11-1) ... puppet. conf: Could not match line bla at /etc/puppet/ puppet. conf:bla :SSL::Certifica teRequest host.example.com at '/etc/puppet/ ssl/ca/ requests/ host.example. com.pem' :SSL::Certifica teRequest host.example.com at '/etc/puppet/ ssl/certificate _requests/ host.example. com.pem'
Selecting previously unselected package puppetmaster-
(Reading database ... 25803 files and directories currently installed.)
Unpacking puppetmaster-
Setting up puppetmaster-
err: Could not parse /etc/puppet/
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:
notice: Removing file Puppet:
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?