group => 'mirroradm',
mode => 0660,
}
+
+ include ferm::ftp_conntrack
+
+ vsftpd::site { 'ports-master':
+ banner => 'ports-master.debian.org FTP server',
+ logfile => '/var/log/ftp/vsftpd-ports-master.debian.org.log',
+ writable => true,
+ writable_other => true,
+ chown_user => mini-dak-unpriv,
+ root => '/srv/ports-master.debian.org/ftp/incoming',
+ }
+
+ if $bind6 {
+ vsftpd::site { 'ports-master-v6':
+ banner => 'ports-master.debian.org FTP server',
+ logfile => '/var/log/ftp/vsftpd-ports-master.debian.org.log',
+ writable => true,
+ writable_other => true,
+ chown_user => mini-dak-unpriv,
+ root => '/srv/ports-master.debian.org/ftp/incoming',
+ }
+ }
}
chown_uploads=NO
chown_username=<%= scope.lookupvar('chown_user') %>
<%- end -%>
+<%- if scope.lookupvar('writable') and scope.lookupvar('writable_other') -%>
+anon_other_write_enable=YES
+delete_failed_uploads=YES
+<%- end -%>
xferlog_enable=YES
xferlog_file=<%= scope.lookupvar('logfile') %>