Turn off ftp:// on security mirrors
[mirror/dsa-puppet.git] / modules / roles / manifests / security_mirror.pp
index 603c3c7..f09a929 100644 (file)
@@ -36,19 +36,9 @@ class roles::security_mirror {
                content => template('roles/security_mirror/security.debian.org.erb')
        }
 
-       if has_role('security_mirror_no_ftp') {
-               vsftpd::site { 'security':
-                       ensure => absent,
-                       root   => '/nonexistent',
-               }
-       } else {
-               vsftpd::site { '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 { 'security':