[Pkg-puppet-devel] Bug#670424: Breaks in postinst due to missing mod_headers
Bernhard Schmidt
bschmidt at teleport-iabg.de
Wed Apr 25 13:30:18 UTC 2012
Package: puppetmaster-passenger
Version: 2.7.13-1
Severity: important
Minimal squeeze installation, upgraded to wheezy then installed puppetmaster-passenger
fails in the postinst stage
root at puppet:~# dpkg --configure -a
Setting up puppetmaster-passenger (2.7.13-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.
failed!
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 mod_headers module has to enabled, then puppet works.
root at puppet:~# a2enmod headers
Enabling module headers.
To activate the new configuration, you need to run:
service apache2 restart
root at puppet:~# service apache2 restart
Restarting web server: apache2 ... waiting .
root at puppet:~# dpkg --configure -a
Setting up puppetmaster-passenger (2.7.13-1) ...
Module ssl already enabled
Site puppetmaster already enabled
Restarting web server: apache2 ... waiting .
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages puppetmaster-passenger depends on:
ii libapache2-mod-passenger 3.0.11debian-1
ii lsb-base 4.1+Debian0
ii puppetmaster-common 2.7.13-1
ii ruby1.8 1.8.7.352-2
puppetmaster-passenger recommends no packages.
puppetmaster-passenger suggests no packages.
-- no debconf information
More information about the Pkg-puppet-devel
mailing list