class roles::ftp {
# this is the FTP part of the roles::debian_mirror class
- include ferm::ftp_conntrack
-
$binds = $::hostname ? {
klecker => [ '130.89.148.12', '[2001:610:1908:b000::148:12]' ],
default => [ '[::]' ],
class roles::ftp_upload {
-
- include ferm::ftp_conntrack
-
vsftpd::site_systemd { 'ftp-upload':
banner => 'ftp.upload.debian.org FTP server',
logfile => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',
key => true,
}
- include ferm::ftp_conntrack
-
vsftpd::site_systemd { 'ports-master':
banner => 'ports-master.debian.org FTP server',
logfile => '/var/log/ftp/vsftpd-ports-master.debian.org.log',
root => '/nonexistent',
}
} else {
- include ferm::ftp_conntrack
vsftpd::site_systemd { 'security':
banner => 'security.debian.org FTP server (vsftpd)',
logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
$ensure=present,
) {
include vsftpd
+ include ferm::ftp_conntrack
case $ensure {
present,absent: {}