Public bug reported: When installing puppetmaster-passenger the install will not finish without errors. After doing some research the problem is because apache2 mod_headers is not enabled.
Output from install: To activate the new configuration, you need to run: service apache2 reload Syntax error on line 29 of /etc/apache2/sites-enabled/puppetmaster: Invalid command 'RequestHeader', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. ...fail! invoke-rc.d: initscript apache2, action "restart" failed. dpkg: error processing puppetmaster-passenger (--configure): subprocess installed post-installation script returned error exit status 1 Setting up ruby1.8-dev (1.8.7.352-2ubuntu1) ... Setting up ssl-cert (1.0.28) ... Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu2) ... Setting up g++-4.6 (4.6.3-1ubuntu2) ... Setting up g++ (4:4.6.2-4ubuntu1) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode. Setting up build-essential (11.5ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: puppetmaster-passenger E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up puppetmaster-passenger (2.7.11-1) ... Module ssl already enabled Site puppetmaster already enabled Syntax error on line 29 of /etc/apache2/sites-enabled/puppetmaster: Invalid command 'RequestHeader', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. ...fail! invoke-rc.d: initscript apache2, action "restart" failed. dpkg: error processing puppetmaster-passenger (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: puppetmaster-passenger The fix: a2enmod headers /etc/init.d/apache2 restart It seems that only the SSL module is enabled through this install, but it needs mod_headers too in order to run ** Affects: puppet (Ubuntu) Importance: Undecided Status: New -- 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/948909 Title: puppetmaster-passenger does not install cleanly from scrach To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/948909/+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