From: Peter Palfrader Date: Thu, 23 Feb 2017 18:12:28 +0000 (+0100) Subject: limit ftp to the security address X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b831a249ddfcbe957407a874e42785e98464692d;p=mirror%2Fdsa-puppet.git limit ftp to the security address --- diff --git a/modules/roles/manifests/security_mirror.pp b/modules/roles/manifests/security_mirror.pp index 1d2f731f2..924ec12d6 100644 --- a/modules/roles/manifests/security_mirror.pp +++ b/modules/roles/manifests/security_mirror.pp @@ -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,