default => '',
}
+ $logfile = '/var/log/ftp/vsftpd-backports-master.debian.org.log'
+
vsftpd::site { 'backports':
- source => 'puppet:///modules/roles/backports_master/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-backports-master.debian.org.log',
+ content => template('roles/backports_master/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind,
}
if $bind6 {
vsftpd::site { 'backports-v6':
- source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-backports-master.debian.org.log',
+ source => template('roles/backports_mirror/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind6,
}
}
default => '',
}
+ $logfile = '/var/log/ftp/vsftpd-ftp.debian.org.log'
+
vsftpd::site { 'ftp':
- source => 'puppet:///modules/roles/ftp/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log',
+ source => template('roles/ftp/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind,
}
if $bind6 {
vsftpd::site { 'ftp-v6':
- source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-ftp.debian.org.log',
+ source => template('roles/ftp/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind6,
}
}
default => '',
}
+ $logfile = '/var/log/ftp/vsftpd-ftp.upload.debian.org.log'
+
vsftpd::site { 'ftp-upload':
- source => 'puppet:///modules/roles/ftp_upload/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',
+ source => template('roles/ftp_upload/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind,
}
if $bind6 {
vsftpd::site { 'ftp-upload-v6':
- source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',
+ source => template('roles/ftp_upload/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind6,
}
}
default => '',
}
+ $logfile = '/var/log/ftp/vsftpd-security.debian.org.log'
+
vsftpd::site { 'security':
- source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
+ source => template('roles/security_mirror/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind,
}
if $bind6 {
vsftpd::site { 'security-v6':
- source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
- logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
+ source => template('roles/security_mirror/vsftpd.conf.erb'),
+ logfile => $logfile,
bind => $bind6,
}
}
+++ /dev/null
-anonymous_enable=YES
-write_enable=YES
-anon_root=/srv/backports-upload
-anon_umask=027
-anon_upload_enable=YES
-chown_uploads=YES
-chown_username=dak
-
-xferlog_enable=YES
-xferlog_file=<%= scope.lookupvar('logfile') %>
-
-ftpd_banner=backports-master.debian.org FTP server
-secure_chroot_dir=/var/run/vsftpd
-pam_service_name=vsftpd
-setproctitle_enable=YES
-dirmessage_enable=YES
-ls_recurse_enable=NO
-connect_from_port_20=NO
-max_clients=100
--- /dev/null
+anonymous_enable=YES
+write_enable=YES
+anon_root=/srv/backports-upload
+anon_umask=027
+anon_upload_enable=YES
+chown_uploads=YES
+chown_username=dak
+
+xferlog_enable=YES
+xferlog_file=<%= scope.lookupvar('logfile') %>
+
+ftpd_banner=backports-master.debian.org FTP server
+secure_chroot_dir=/var/run/vsftpd
+pam_service_name=vsftpd
+setproctitle_enable=YES
+dirmessage_enable=YES
+ls_recurse_enable=NO
+connect_from_port_20=NO
+max_clients=100
+++ /dev/null
-ftpd_banner=ftp.debian.org FTP server
-
-anonymous_enable=YES
-dirmessage_enable=YES
-connect_from_port_20=NO
-setproctitle_enable=YES
-ls_recurse_enable=NO
-xferlog_enable=YES
-xferlog_file=<%= scope.lookupvar('logfile') %>
-
-secure_chroot_dir=/var/run/vsftpd
-pam_service_name=vsftpd
-
-anon_root=/srv/ftp.debian.org/ftp.root
-
--- /dev/null
+ftpd_banner=ftp.debian.org FTP server
+
+anonymous_enable=YES
+dirmessage_enable=YES
+connect_from_port_20=NO
+setproctitle_enable=YES
+ls_recurse_enable=NO
+xferlog_enable=YES
+xferlog_file=<%= scope.lookupvar('logfile') %>
+
+secure_chroot_dir=/var/run/vsftpd
+pam_service_name=vsftpd
+
+anon_root=/srv/ftp.debian.org/ftp.root
+
+++ /dev/null
-ftpd_banner=ftp.upload.debian.org FTP server
-
-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
-xferlog_file=<%= scope.lookupvar('logfile') %>
-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
+ftpd_banner=ftp.upload.debian.org FTP server
+
+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
+xferlog_file=<%= scope.lookupvar('logfile') %>
+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
-anonymous_enable=YES
-xferlog_enable=YES
-secure_chroot_dir=/var/run/vsftpd
-pam_service_name=vsftpd
-rsa_cert_file=/etc/ssl/certs/vsftpd.pem
-
-setproctitle_enable=YES
-dirmessage_enable=NO
-connect_from_port_20=NO
-xferlog_file=/var/log/ftp/vsftpd-security.debian.org.log
-xferlog_file=<%= scope.lookupvar('logfile') %>
-ls_recurse_enable=YES
-ftpd_banner=security.debian.org FTP server (vsftpd)
--- /dev/null
+anonymous_enable=YES
+xferlog_enable=YES
+secure_chroot_dir=/var/run/vsftpd
+pam_service_name=vsftpd
+rsa_cert_file=/etc/ssl/certs/vsftpd.pem
+
+setproctitle_enable=YES
+dirmessage_enable=NO
+connect_from_port_20=NO
+xferlog_file=/var/log/ftp/vsftpd-security.debian.org.log
+xferlog_file=<%= scope.lookupvar('logfile') %>
+ls_recurse_enable=YES
+ftpd_banner=security.debian.org FTP server (vsftpd)