From 493d371a4410b0a6886fbe7cfe36180cb2120f60 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Nov 2015 12:25:37 -0200 Subject: Apache itk package for jessie onwards --- manifests/init.pp | 15 +++++++++++++-- 1 file 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": -- cgit v1.2.3