diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-22 16:33:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-22 16:33:20 -0200 |
commit | cdfc71dc8691e3d58db3049dfefd110c4c1d044b (patch) | |
tree | 580b40bd5a730a6f778ee549eadc9db20eb68e01 /manifests/virtual | |
parent | beb9ced0191a9c6804332bd741ba30d4eee0040a (diff) | |
download | puppet-mail-cdfc71dc8691e3d58db3049dfefd110c4c1d044b.tar.gz puppet-mail-cdfc71dc8691e3d58db3049dfefd110c4c1d044b.tar.bz2 |
Variable updates
Diffstat (limited to 'manifests/virtual')
-rw-r--r-- | manifests/virtual/database.pp | 5 | ||||
-rw-r--r-- | manifests/virtual/web.pp | 12 |
2 files changed, 6 insertions, 11 deletions
diff --git a/manifests/virtual/database.pp b/manifests/virtual/database.pp index 32259a4..1e9b0e7 100644 --- a/manifests/virtual/database.pp +++ b/manifests/virtual/database.pp @@ -1,9 +1,4 @@ class mail::virtual::database { - # Class configuration - case $database_password { - '': { fail("You need to define database_password host config") } - } - # # Database configuration # diff --git a/manifests/virtual/web.pp b/manifests/virtual/web.pp index 7c007a9..bf826ef 100644 --- a/manifests/virtual/web.pp +++ b/manifests/virtual/web.pp @@ -1,20 +1,20 @@ class mail::virtual::web( - $postfixadmin_setup_hash = hiera('mail::web::virtual::postfixadmin_setup_hash', ''), - $roundcube_des_key = hiera('mail::web::virtual::roundcube_des_key', ''), - $roundcube_logo = hiera('mail::web::virtual::roundcube_logo', 'null'), - $roundcube_login_info = hiera('mail::web::virtual::roundcube_login_info', false) + $postfixadmin_setup_hash = hiera('mail::virtual::web::postfixadmin_setup_hash', ''), + $roundcube_des_key = hiera('mail::virtual::web::roundcube_des_key', ''), + $roundcube_logo = hiera('mail::virtual::web::roundcube_logo', 'null'), + $roundcube_login_info = hiera('mail::virtual::web::roundcube_login_info', false) ) { # Class configuration if $::lsbdistcodename != 'lenny' { case $roundcube_des_key { - '': { fail("You need to define roundcube_des_key host config") } + '': { fail("You need to define mail::virtual::web::roundcube_des_key config") } } } case $postfixadmin_setup_hash { '': { - warning("You need to define postfixadmin_setup_hash host config") + warning("You need to define mail::virtual::web::postfixadmin_setup_hash config") $setup_hash = 'changeme' } } |