class roles::ftp {
+ # this is the FTP part of the roles::debian_mirror class
+
+ include ferm::ftp_conntrack
$bind = $::hostname ? {
- kassia => '::ffff:130.89.149.226',
klecker => '::ffff:130.89.148.12',
default => '',
}
$bind6 = $::hostname ? {
- kassia => '2001:610:1908:a000::149:226',
klecker => '2001:610:1908:b000::148:12',
default => '',
}
root => '/srv/ftp.debian.org/ftp.root',
}
- if $bind6 {
+ if $bind6 != '' {
vsftpd::site { 'ftp-v6':
banner => 'ftp.debian.org FTP server',
logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log',