summaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-09 10:42:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-09 10:42:15 -0300
commitc185e61df3b601274b96878f8f75d2e9fc66555e (patch)
tree3445f3b650c49319143f4b78b606889471c270af /manifests/web.pp
parent47951217efeedd66ce922ecbaebc7d7bf40cdc89 (diff)
downloadpuppet-mail-c185e61df3b601274b96878f8f75d2e9fc66555e.tar.gz
puppet-mail-c185e61df3b601274b96878f8f75d2e9fc66555e.tar.bz2
Lenny compatibility
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp6
1 files changed, 4 insertions, 2 deletions
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,
}