From f9f6fc3be8b2e3e840dbf85d497160f14ba82ce8 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 22 Aug 2011 16:46:36 -0400 Subject: add preliminary support for debian --- manifests/base.pp | 4 +++- manifests/debian.pp | 6 ++++++ manifests/init.pp | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 manifests/debian.pp diff --git a/manifests/base.pp b/manifests/base.pp index 85024ce..b94ed5e 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -1,5 +1,7 @@ class dovecot::base { - package{'dovecot': + + package { 'dovecot': + alias => 'dovecot', ensure => installed, } diff --git a/manifests/debian.pp b/manifests/debian.pp new file mode 100644 index 0000000..8946208 --- /dev/null +++ b/manifests/debian.pp @@ -0,0 +1,6 @@ +class dovecot::debian inherits dovecot::base { + + Package['dovecot'] { name => [ 'dovecot-imapd', 'dovecot-pop3d' ] } + +} + diff --git a/manifests/init.pp b/manifests/init.pp index a6f5fcc..b7d84e6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -13,6 +13,7 @@ class dovecot( ){ case $operatingsystem { centos: { include dovecot::centos } + debian: { include dovecot::debian } default: { include dovecot::base } } -- cgit v1.2.3