summaryrefslogtreecommitdiff
path: root/manifests/system.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/system.pp')
-rw-r--r--manifests/system.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/system.pp b/manifests/system.pp
index 1c2a4d5..b6db2d2 100644
--- a/manifests/system.pp
+++ b/manifests/system.pp
@@ -7,6 +7,22 @@ class mail::system {
'': { $postfix_mynetworks = "127.0.0.0/8" }
}
+ case $postfixadmin_password {
+ '': { fail("You need to define \$postfixadmin_password host config") }
+ }
+
+ case $postfixadmin_user {
+ '': { $postfixadmin_user = "postfix" }
+ }
+
+ case $postfixadmin_hosts {
+ '': { $postfixadmin_hosts = "localhost" }
+ }
+
+ case $postfixadmin_dbname {
+ '': { $postfixadmin_dbname= "postfix" }
+ }
+
# Module requirements
include postfix
include database