Remove /srv/ftp.root from security mirrors
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 16 Feb 2018 20:23:25 +0000 (21:23 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 16 Feb 2018 20:23:25 +0000 (21:23 +0100)
They do not serve FTP anymore so the archive can be located directly
in /srv/mirrors/debian-security like for other archive.

Do not create the /srv/mirrors/debian-security, as it might still be a
symlink, and ftpsync will create it. This actually matches what is done
for the other archive.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/roles/manifests/security_mirror.pp

index 9bb6139..89c1e19 100644 (file)
@@ -10,24 +10,6 @@ class roles::security_mirror {
                default         => [ '[::]' ],
        }
 
-       file { '/srv/mirrors/debian-security':
-               ensure => link,
-               target => '../ftp.root/debian-security',
-       }
-       file { '/srv/ftp.root':
-               ensure  => directory,
-       }
-       file { '/srv/ftp.root/.nobackup':
-               ensure  => present,
-               content => '',
-       }
-       file { '/srv/ftp.root/debian-security':
-               ensure => directory,
-               owner  => 1176, # archvsync
-               group  => 1176, # archvsync
-               mode   => '0755',
-       }
-
        include apache2::expires
        include apache2::rewrite