From 705fd0a13dc4d2f073819947159e28b54c286550 Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 26 Jan 2013 13:02:53 +0100 Subject: debian support: different package name --- manifests/debian.pp | 5 +++++ manifests/init.pp | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 manifests/debian.pp 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 { -- cgit v1.2.3