summaryrefslogtreecommitdiff
path: root/manifests/packages.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/packages.pp
parent47951217efeedd66ce922ecbaebc7d7bf40cdc89 (diff)
downloadpuppet-mail-c185e61df3b601274b96878f8f75d2e9fc66555e.tar.gz
puppet-mail-c185e61df3b601274b96878f8f75d2e9fc66555e.tar.bz2
Lenny compatibility
Diffstat (limited to 'manifests/packages.pp')
-rw-r--r--manifests/packages.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/packages.pp b/manifests/packages.pp
index 027d187..4a3b26e 100644
--- a/manifests/packages.pp
+++ b/manifests/packages.pp
@@ -18,11 +18,17 @@ class mail::packages::virtual {
ensure => installed,
}
- package { [ 'squirrelmail', 'squirrelmail-locales', 'imp4',
- 'roundcube', 'roundcube-sqlite' ]:
+ package { [ 'squirrelmail', 'squirrelmail-locales', 'imp4' ]:
ensure => installed,
}
+ # Squeeze (or newer) packages
+ if $lsbdistcodename != 'lenny' {
+ package { [ 'roundcube', 'roundcube-sqlite' ]:
+ ensure => installed,
+ }
+ }
+
# We'll force SSL through the proxy
package { 'squirrelmail-secure-login':
ensure => absent,