Merge remote-tracking branch 'waldi/log_apache2'
[mirror/dsa-puppet.git] / modules / roles / manifests / ftp.pp
index 27c4480..452c459 100644 (file)
@@ -1,5 +1,16 @@
 class roles::ftp {
+       # this is the FTP part of the roles::debian_mirror class
+
+       $binds = $::hostname ? {
+               klecker => [ '130.89.148.12', '[2001:610:1908:b000::148:12]' ],
+               default => [ '[::]' ],
+       }
+
        vsftpd::site { 'ftp':
-               source => 'puppet:///modules/roles/ftp/vsftpd.conf'
+               banner       => 'ftp.debian.org FTP server',
+               logfile      => '/var/log/ftp/vsftpd-ftp.debian.org.log',
+               binds        => $binds,
+               max_clients  => 200,
+               root         => '/srv/ftp.debian.org/ftp.root',
        }
 }