Package: puppet-module-puppetlabs-apache
Version: 1.1.1-1
Severity: important
Tags: patch

Dear Maintainer,

using the puppet/apache module to configure an SSL-enabled site currently fails 
on jessie.

The check in the file 
/usr/share/puppet/modules.available/puppetlabs-apache/manifests/mod/ssl.pp
only outputs the correct configuration file "ssl_mutex default" when on Ubuntu.

Upstream fixed this in version 1.2.0, the exact commit is
https://github.com/puppetlabs/puppetlabs-apache/commit/2093c1e763ffa0760bbe92cb7ba912979062daae

Since this bug makes it impossible to use the module with SSL on jessie, please 
consider
including this patch in the jessie release.

I verified this in a fresh VM, installing puppet-module-puppetlabs-apache and 
trying
to execute 'puppet apply apache.pp'.  After changing the line, this worked.

Thank you,

- Danny


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages puppet-module-puppetlabs-apache depends on:
ii  puppet-common                    3.7.2-4
ii  puppet-module-puppetlabs-concat  1.1.1-1
ii  puppet-module-puppetlabs-stdlib  4.3.2-1

puppet-module-puppetlabs-apache recommends no packages.

puppet-module-puppetlabs-apache suggests no packages.

-- no debconf information
--- ssl.pp.orig	2016-04-21 10:55:32.153611165 +0000
+++ ssl.pp	2016-04-21 10:55:51.630464107 +0000
@@ -12,7 +12,7 @@
 
   case $::osfamily {
     'debian': {
-      if $apache_version >= 2.4 and $::operatingsystem == 'Ubuntu' {
+      if $apache_version >= 2.4 {
         $ssl_mutex = 'default'
       } elsif $::operatingsystem == 'Ubuntu' and $::operatingsystemrelease == '10.04' {
         $ssl_mutex = 'file:/var/run/apache2/ssl_mutex'
class { 'apache':
	apache_version => "2.4",
}

apache::vhost { 'test ssl':
	servername => 'localhost.localdomain',
	ssl => true,
	docroot => '/var/www/html',
}

Reply via email to