9c6e802d3c6a4c1fa3f4f437f823deccaa41417a
[mirror/dsa-puppet.git] / modules / roles / manifests / ftp.pp
1 class roles::ftp {
2         # this is the FTP part of the roles::debian_mirror class
3
4         $binds = $::hostname ? {
5                 klecker => [ '130.89.148.12', '[2001:610:1908:b000::148:12]' ],
6                 default => [ '[::]' ],
7         }
8
9         vsftpd::site_systemd { 'ftp':
10                 banner       => 'ftp.debian.org FTP server',
11                 logfile      => '/var/log/ftp/vsftpd-ftp.debian.org.log',
12                 binds        => $binds,
13                 max_clients  => 200,
14                 root         => '/srv/ftp.debian.org/ftp.root',
15         }
16 }