X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fftp.pp;h=bdb9f4b642f23ef4bb1c31f568c809f76d7760e1;hb=836eff39ec561176cd00cc2d7b4e66e9668a25ee;hp=441c72368d1f60ea47c183c86139f78a9aa84c82;hpb=a8c4d2e729ba481ab77363b4e9d46aebf307883d;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/ftp.pp b/modules/roles/manifests/ftp.pp index 441c72368..bdb9f4b64 100644 --- a/modules/roles/manifests/ftp.pp +++ b/modules/roles/manifests/ftp.pp @@ -1,4 +1,7 @@ class roles::ftp { + # this is the FTP part of the roles::debian_mirror class + + include ferm::ftp_conntrack $bind = $::hostname ? { klecker => '::ffff:130.89.148.12', @@ -11,14 +14,20 @@ class roles::ftp { } 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 { 'ftp-v6': - source => 'puppet:///modules/roles/security_mirror/vsftpd.conf', - bind => $bind6, + 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', } } }