aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-24 16:11:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-24 16:11:42 -0300
commitd49fc4e4fe00fa76d296522a0951022d327b088b (patch)
tree854eed076b0a5c52179f777ce58013db546f02c8 /manifests/mail.pp
parentdb0a70a51ab316e5f4af92e0f92371ad366c64b6 (diff)
downloadpuppet-nodo-d49fc4e4fe00fa76d296522a0951022d327b088b.tar.gz
puppet-nodo-d49fc4e4fe00fa76d296522a0951022d327b088b.tar.bz2
Do not use exim for mail hosts
Diffstat (limited to 'manifests/mail.pp')
-rw-r--r--manifests/mail.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 2f4b0ed..be544c0 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -1,8 +1,19 @@
-class nodo::mail inherits nodo::vserver {
+class nodo::mail {
# Class for mail nodes
+ $mail_host = true
$postfix_relayhost = "$domain"
$postfix_smtp_listen = "$ip"
$postfix_mydestination = "\$myorigin"
+ include nodo::vserver
include postfix::mta
+ include database
+
+ package { 'postfix-mysql':
+ ensure => installed,
+ }
+
+ package { [ 'squirrelmail', 'squirrelmail-secure-login', ' squirrelmail-locales' ]:
+ ensure => installed,
+ }
}