Use the correct name for apache

The name of the apache package and service are different on different
operating systems. Fortunately, the apache module populates a variable
with the correct name for us. This is also true of the apache ssl
package.

Change-Id: I7d93e56281f828cba9262c135b0beb43dce9748a
This commit is contained in:
K Jonathan Harker 2014-06-04 17:27:48 -07:00
parent a6a1182923
commit 5903d53bfd

View File

@ -25,7 +25,7 @@ class mailman($vhost_name=$::fqdn) {
group => 'root', group => 'root',
replace => true, replace => true,
mode => '0444', mode => '0444',
require => Package['apache2'], require => Package[$::apache::params::apache_name],
} }
file { '/etc/mailman/mm_cfg.py': file { '/etc/mailman/mm_cfg.py':