limit ftp to the security address
authorPeter Palfrader <peter@palfrader.org>
Thu, 23 Feb 2017 18:12:28 +0000 (19:12 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 23 Feb 2017 18:12:28 +0000 (19:12 +0100)
modules/roles/manifests/security_mirror.pp

index 1d2f731..924ec12 100644 (file)
@@ -15,14 +15,8 @@ class roles::security_mirror {
                mirror-umn => '2607:ea00:101:3c0b::1deb:215',
                default    => '',
        }
-       $ftp_bind = $::hostname ? {
-               mirror-anu => '150.203.164.61',
-               default => '',
-       }
-       $ftp_bind6 = $::hostname ? {
-               mirror-anu => '2001:388:1034:2900::3d',
-               default => undef,
-       }
+       $ftp_bind = $rsync_bind
+       $ftp_bind6 = $rsync_bind6
 
        file { '/srv/mirrors/debian-security':
                ensure => link,