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