]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Aug 2010 20:45:14 +0000 (17:45 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Aug 2010 20:45:14 +0000 (17:45 -0300)
manifests/web.pp

index a29ea8b28657b180c1048aeee6ace40c1160b967..d9ee390abd842dc741741eaa28f4042cc0ab885f 100644 (file)
@@ -22,12 +22,8 @@ class mail::web inherits websites::setup {
 }
 
 class mail::web::sympa {
-  case $mail_list_domain {
-    '': { $mail_list_domain = 'lists' }
-  }
-
-  apache::site { "$mail_list_domain":
-    docroot => "${apache_sites_folder}/$mail_list_domain/site",
+  apache::site { "$sympa_subdomain":
+    docroot => "${apache_sites_folder}/$sympa_subdomain/site",
     source  => true,
   }
 }