From: Silvio Rhatto Date: Mon, 9 Nov 2015 14:25:37 +0000 (-0200) Subject: Apache itk package for jessie onwards X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=493d371a4410b0a6886fbe7cfe36180cb2120f60;p=puppet-apache.git Apache itk package for jessie onwards --- 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":