diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-07-18 10:00:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-07-18 10:00:43 -0300 |
commit | 4489fa3d452d6c1b9633454c76a739935f618535 (patch) | |
tree | da4fb7bc9fa0213b1307c6bf06aa95a239c14147 /manifests | |
parent | 97b5a50c11900df6f582546e722ad8b6e0eff03a (diff) | |
download | puppet-mail-4489fa3d452d6c1b9633454c76a739935f618535.tar.gz puppet-mail-4489fa3d452d6c1b9633454c76a739935f618535.tar.bz2 |
Introducing $roundcube_des_key
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/web.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/web.pp b/manifests/web.pp index d0ddf29..4f9e2a1 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -1,4 +1,9 @@ class mail::web::virtual inherits websites::setup { + # Class configuration + case $roundcube_des_key { + '': { fail("You need to define \$roundcube_des_key host config") } + } + include php::imap apache::site { "postfixadmin": @@ -33,7 +38,7 @@ class mail::web::virtual inherits websites::setup { owner => root, group => www-data, mode => 0640, - source => "puppet:///modules/mail/roundcube/main.inc.php", + content => template('mail/roundcube/main.inc.php.erb'), require => Package['roundcube'], } } |