X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fftp.pp;h=95fd87d6dd746aeb8ca833fe759c61f77aa8c932;hb=6b183cf204cd8df9a8a967f1e709832968c50cbb;hp=294cea36d12ec2ef8928bd70ab005ed36c318eb9;hpb=ce2faa5e2cedf0a43ecd8c01efc958fe8d2b363f;p=dsa-puppet.git diff --git a/modules/roles/manifests/ftp.pp b/modules/roles/manifests/ftp.pp index 294cea36..95fd87d6 100644 --- a/modules/roles/manifests/ftp.pp +++ b/modules/roles/manifests/ftp.pp @@ -1,22 +1,32 @@ class roles::ftp { + include ferm::ftp_conntrack + $bind = $::hostname ? { + klecker => '::ffff:130.89.148.12', default => '', } $bind6 = $::hostname ? { + klecker => '2001:610:1908:b000::148:12', default => '', } vsftpd::site { 'ftp': - source => 'puppet:///modules/roles/ftp/vsftpd.conf', - bind => $bind, + banner => 'ftp.debian.org FTP server', + logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log', + bind => $bind, + max_clients => 200, + root => '/srv/ftp.debian.org/ftp.root', } if $bind6 { - vsftpd::site { 'security-v6': - source => 'puppet:///modules/roles/security_mirror/vsftpd.conf', - bind => $bind6, + vsftpd::site { 'ftp-v6': + banner => 'ftp.debian.org FTP server', + logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log', + bind => $bind6, + max_clients => 200, + root => '/srv/ftp.debian.org/ftp.root', } } }