summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 8 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a3b34ad..29d6da7 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,16 +5,17 @@ class dovecot(
$pgsql = false,
$mysql = false,
$nagios_checks = {
- 'imap-hostname' => $::fqdn,
- 'pop3-hostname' => $::fqdn,
+ 'imap-hostname' => $fqdn,
+ 'pop3-hostname' => $fqdn,
},
$munin_checks = true,
- $manage_shorewall = true
+ $manage_shorewall = true,
+ $version = 2
){
- case $::operatingsystem {
- centos: { include dovecot::centos }
- 'Debian','Ubuntu': { include dovecot::debian }
- default: { include dovecot::base }
+ case $operatingsystem {
+ centos: { include dovecot::centos }
+ debian: { include dovecot::debian }
+ default: { include dovecot::base }
}
if $dovecot::sqlite or $dovecot::pgsql or $dovecot::mysql {