summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-05 13:47:11 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-05 13:47:11 -0200
commit16c2a6a05351cbf4bc3abce57394b207d9750d2a (patch)
treeedbce145bd739c2c5095c093c39653771b181697 /manifests
parent93e5172d99d35e1838fe63d49e4300e408f53ff5 (diff)
downloadpuppet-mail-16c2a6a05351cbf4bc3abce57394b207d9750d2a.tar.gz
puppet-mail-16c2a6a05351cbf4bc3abce57394b207d9750d2a.tar.bz2
Package imp4 not on wheezy
Diffstat (limited to 'manifests')
-rw-r--r--manifests/virtual/packages.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/virtual/packages.pp b/manifests/virtual/packages.pp
index 809115f..3171d5e 100644
--- a/manifests/virtual/packages.pp
+++ b/manifests/virtual/packages.pp
@@ -7,7 +7,7 @@ class mail::virtual::packages {
ensure => installed,
}
- package { [ 'squirrelmail', 'squirrelmail-locales', 'imp4' ]:
+ package { [ 'squirrelmail', 'squirrelmail-locales' ]:
ensure => installed,
}
@@ -26,4 +26,12 @@ class mail::virtual::packages {
package { 'squirrelmail-secure-login':
ensure => absent,
}
+
+ # Old packages
+ package { 'imp4':
+ ensure => $::lsbdistcodename ? {
+ 'squeeze' => installed,
+ default => absent,
+ }
+ }
}