content => template('roles/security_mirror/security.debian.org.erb')
}
- if has_role('security_mirror_no_ftp') {
- vsftpd::site_systemd { 'security':
- ensure => absent,
- root => '/nonexistent',
- }
- } else {
- vsftpd::site_systemd { 'security':
- banner => 'security.debian.org FTP server (vsftpd)',
- logfile => '/var/log/ftp/vsftpd-security.debian.org.log',
- max_clients => 200,
- root => '/srv/ftp.root/',
- binds => $binds,
- }
+ vsftpd::site { 'security':
+ ensure => absent,
+ root => '/nonexistent',
}
- rsync::site_systemd { 'security':
+ rsync::site { 'security':
source => 'puppet:///modules/roles/security_mirror/rsyncd.conf',
max_clients => 100,
binds => $binds,