Linting
[mirror/dsa-puppet.git] / modules / roles / manifests / ftp_upload.pp
1 class roles::ftp_upload {
2
3         include ferm::ftp_conntrack
4
5         vsftpd::site { 'ftp-upload':
6                 banner     => 'ftp.upload.debian.org FTP server',
7                 logfile    => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',
8                 writable   => true,
9                 chown_user => dak-unpriv,
10                 root       => '/srv/upload.debian.org/ftp',
11         }
12
13         if $bind6 {
14                 vsftpd::site { 'ftp-upload-v6':
15                         banner     => 'ftp.upload.debian.org FTP server',
16                         logfile    => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',
17                         writable   => true,
18                         chown_user => dak-unpriv,
19                         root       => '/srv/upload.debian.org/ftp',
20                 }
21         }
22 }