Signed-off-by: Stephen Gran <steve@lobefin.net>
include roles::ftp
}
+ if getfromhash($site::nodeinfo, 'ftp.upload.d.o') {
+ include roles::ftp_upload
+ }
+
if $::hostname in [bizet,morricone] {
include roles::backports_master
}
ftp.d.o:
- kassia.debian.org
- klecker.debian.org
+ ftp.upload.d.o:
+ - franck.debian.org
+ - ravel.debian.org
mailrelay:
- kokkonen.debian.org
- merikanto.debian.org
--- /dev/null
+ftpd_banner=ftp.upload.debian.org FTP server
+
+listen=YES
+max_clients=100
+
+anonymous_enable=YES
+dirmessage_enable=YES
+connect_from_port_20=NO
+setproctitle_enable=YES
+ls_recurse_enable=NO
+xferlog_enable=YES
+
+secure_chroot_dir=/var/run/vsftpd
+pam_service_name=vsftpd
+
+anon_root=/srv/upload.debian.org/ftp
+write_enable=YES
+anon_umask=027
+anon_upload_enable=YES
+chown_uploads=YES
+chown_username=dak
+
--- /dev/null
+class roles::ftp_upload {
+ vsftpd::site { 'ftp-upload':
+ source => 'puppet:///modules/roles/ftp_upload/vsftpd.conf'
+ }
+}