whitespace/quoting: modules/exim/manifests/* (make lint happy)
[mirror/dsa-puppet.git] / modules / exim / manifests / vdomain.pp
index 0b12919..de62334 100644 (file)
@@ -1,35 +1,35 @@
 define exim::vdomain (
-       $alias_file,
-       $user,
-       $group,
-       $maildir,
-       $domain=$name,
+  $alias_file,
+  $user,
+  $group,
+  $maildir="/srv/${name}",
+  $domain=$name,
 ) {
-       include exim::vdomain::setup
+  include exim::vdomain::setup
 
-       file { $maildir:
-               ensure => directory,
-               mode   => '0755',
-               owner  => root,
-               group  => root
-       }
+  file { $maildir:
+    ensure => directory,
+    mode   => '0755',
+    owner  => root,
+    group  => root
+  }
 
-       file { "${maildir}/mail":
-               ensure => directory,
-               mode   => '0755',
-               owner  => root,
-               group  => root
-       }
+  file { "${maildir}/mail":
+    ensure => directory,
+    mode   => '0755',
+    owner  => root,
+    group  => root
+  }
 
-       file { "${maildir}/mail/aliases":
-               source => $alias_file,
-               mode   => '0644',
-               owner  => root,
-               group  => root
-       }
+  file { "${maildir}/mail/aliases":
+    source => $alias_file,
+    mode   => '0644',
+    owner  => root,
+    group  => root
+  }
 
-       concat::fragment { "virtualdomain_${domain}":
-               target  => '/etc/exim4/virtualdomains',
-               content => "${domain}: user=${user} group=${group} directory=${maildir}/mail\n",
-       }
+  concat::fragment { "virtualdomain_${domain}":
+    target  => '/etc/exim4/virtualdomains',
+    content => "${domain}: user=${user} group=${group} directory=${maildir}/mail\n",
+  }
 }