diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-26 12:06:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-26 12:06:16 -0300 |
commit | d40ab8dae8691b7b3692d2bb748bff755937d490 (patch) | |
tree | 65b7e43220ff9b58bf3f0998199e96b47d0c39db /manifests | |
parent | db85b89742382894cb5736fa6a654e92dc92bf20 (diff) | |
download | puppet-mail-d40ab8dae8691b7b3692d2bb748bff755937d490.tar.gz puppet-mail-d40ab8dae8691b7b3692d2bb748bff755937d490.tar.bz2 |
Moving parameters from mail::postfixadmin to mail::virtual
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/postfixadmin.pp | 24 | ||||
-rw-r--r-- | manifests/virtual.pp | 24 |
2 files changed, 24 insertions, 24 deletions
diff --git a/manifests/postfixadmin.pp b/manifests/postfixadmin.pp index e00d8ce..b974515 100644 --- a/manifests/postfixadmin.pp +++ b/manifests/postfixadmin.pp @@ -1,28 +1,4 @@ class mail::postfixadmin { - # Class configuration - case $postfixadmin_database_password { - '': { fail("You need to define \$postfixadmin_database_password host config") } - } - - case $postfixadmin_setup_hash { - '': { - warning("You need to define \$postfixadmin_setup_hash host config") - $postfixadmin_setup_hash = 'changeme' - } - } - - case $postfixadmin_database_user { - '': { $postfixadmin_database_user = "postfix" } - } - - case $postfixadmin_database_host { - '': { $postfixadmin_database_host = "localhost" } - } - - case $postfixadmin_database_name { - '': { $postfixadmin_database_name= "postfix" } - } - # # Database configuration # diff --git a/manifests/virtual.pp b/manifests/virtual.pp index 5035c77..c895777 100644 --- a/manifests/virtual.pp +++ b/manifests/virtual.pp @@ -1,4 +1,28 @@ class mail::virtual { + # Class configuration + case $postfixadmin_database_password { + '': { fail("You need to define \$postfixadmin_database_password host config") } + } + + case $postfixadmin_setup_hash { + '': { + warning("You need to define \$postfixadmin_setup_hash host config") + $postfixadmin_setup_hash = 'changeme' + } + } + + case $postfixadmin_database_user { + '': { $postfixadmin_database_user = "postfix" } + } + + case $postfixadmin_database_host { + '': { $postfixadmin_database_host = "localhost" } + } + + case $postfixadmin_database_name { + '': { $postfixadmin_database_name= "postfix" } + } + # Virtual subsystems include database include mail::packages::virtual |