From f9b0480e5bd251275325a0c317d910a8b531ebe7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 8 Aug 2010 00:53:32 -0300 Subject: Moving postfixadmin variables to system.pp --- manifests/postfixadmin.pp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'manifests/postfixadmin.pp') diff --git a/manifests/postfixadmin.pp b/manifests/postfixadmin.pp index d410539..e1ab73b 100644 --- a/manifests/postfixadmin.pp +++ b/manifests/postfixadmin.pp @@ -2,22 +2,6 @@ class mail::postfixadmin { # # Database configuration # - 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" } - } - database::instance { "$postfixadmin_dbname": password => "$postfixadmin_password", } -- cgit v1.2.3