From c185e61df3b601274b96878f8f75d2e9fc66555e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 May 2011 10:42:15 -0300 Subject: Lenny compatibility --- manifests/web.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/web.pp') diff --git a/manifests/web.pp b/manifests/web.pp index 29a5b57..ed32087 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -8,8 +8,10 @@ class mail::web::virtual inherits websites::setup { } apache::site { "mail": - #docroot => "/usr/share/squirrelmail", - docroot => "/var/lib/roundcube", + docroot => $lsbdistcodename ? { + 'lenny' => "/usr/share/squirrelmail", + default => "/var/lib/roundcube", + } source => true, mpm => false, } -- cgit v1.2.3