summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-26 13:02:53 +0100
committervarac <varacanero@zeromail.org>2013-01-26 13:02:53 +0100
commit705fd0a13dc4d2f073819947159e28b54c286550 (patch)
tree9903c80a0a199f42e6bbfdc470fa329b0038ef42
parent62c50e8d251a325ff7a60fb3c3df5f15c70e0c18 (diff)
debian support: different package name
-rw-r--r--manifests/debian.pp5
-rw-r--r--manifests/init.pp5
2 files changed, 8 insertions, 2 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
new file mode 100644
index 0000000..dc41603
--- /dev/null
+++ b/manifests/debian.pp
@@ -0,0 +1,5 @@
+class dovecot::debian inherits dovecot::base {
+ Package['dovecot'] {
+ name => 'dovecot-imapd'
+ }
+}
diff --git a/manifests/init.pp b/manifests/init.pp
index adf2430..a3b34ad 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -12,8 +12,9 @@ class dovecot(
$manage_shorewall = true
){
case $::operatingsystem {
- centos: { include dovecot::centos }
- default: { include dovecot::base }
+ centos: { include dovecot::centos }
+ 'Debian','Ubuntu': { include dovecot::debian }
+ default: { include dovecot::base }
}
if $dovecot::sqlite or $dovecot::pgsql or $dovecot::mysql {