Issue #11555 has been reported by Andreas Ntaflos. ---------------------------------------- Bug #11555: Puppetmaster passenger APT packages for Debian/Ubuntu have broken postinst scripts (certificate generation) https://projects.puppetlabs.com/issues/11555
Author: Andreas Ntaflos Status: Unreviewed Priority: Normal Assignee: Category: passenger Target version: Affected Puppet version: 2.7.9 Keywords: Branch: This has filed as a Debian bug report as well, see here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645073 Basically the postinst script from the puppetmaster-passenger APT package is not working correctly since it contains calls to `puppetca --configprint hostcert` and `puppetca --configprint certname`. Those calls don't print the requested information but instead output the usage/help message of `puppet cert`. This results in quite a few generated certificates that are named after the words in the first few lines of the usage message, such as `puppet-cert(8).pem`, `========.pem`, `manage.pem`, `synopsis.pem`, etc. You get the picture. As it seems certificate generation fails completely and the puppetmaster-passenger package produces a broken puppetmaster installation. I have attached a patch to fix the postinst script but I currently lack the ability to test it myself. As a side note, it also seems that the Apache site template (`/usr/share/puppetmaster-passenger/apache2.site.conf.tmpl`) that gets installed by the postinst script contains a non-existent `DocumentRoot` of `/etc/puppet/rack/public/` and `Directory /etc/puppet/rack/` which also breaks a clean installation of puppetmaster-passenger. I should probably file a separate bug for this. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
