X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fftp.pp;h=cede5429b9a3457b3bb3062601d8881ba818c0d7;hb=cb2e9607cf2092ee657889e2eaee4224eadd7bfe;hp=27c4480b1ac60bd7d71105573adfc98dc139b39c;hpb=7e9f3801f497c8f0a05094e04656f059fc903e56;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/ftp.pp b/modules/roles/manifests/ftp.pp index 27c4480b1..cede5429b 100644 --- a/modules/roles/manifests/ftp.pp +++ b/modules/roles/manifests/ftp.pp @@ -1,5 +1,16 @@ class roles::ftp { + # this is the FTP part of the roles::debian_mirror class + + $binds = $::hostname ? { + klecker => [ '130.89.148.12', '[2001:610:1908:b000::148:12]', '[2001:67c:2564:a119::148:12]' ], + default => [ '[::]' ], + } + vsftpd::site { 'ftp': - source => 'puppet:///modules/roles/ftp/vsftpd.conf' + banner => 'ftp.debian.org FTP server', + logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log', + binds => $binds, + max_clients => 200, + root => '/srv/ftp.debian.org/ftp.root', } }