diff options
-rw-r--r-- | manifests/debian.pp | 5 | ||||
-rw-r--r-- | manifests/init.pp | 5 |
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 { |