summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp15
1 files changed, 13 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f63103c..4e6efb9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -46,9 +46,20 @@ class apache(
include ssl
+ package { 'libapache2-mpm-itk':
+ ensure => $::lsbdistcodename ? {
+ wheezy => absent,
+ default => present,
+ },
+ }
+
package { "apache":
- name => "apache2-mpm-itk",
- ensure => installed,
+ name => $::lsbdistcodename ? {
+ wheezy => 'apache2-mpm-itk',
+ default => 'apache2',
+ },
+ ensure => installed,
+ require => Package['libapache2-mpm-itk'],
}
file { "$conf_d":