summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/web.pp7
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'],
}
}