aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
diff options
context:
space:
mode:
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,
+ }
}