From c88585d0d7dbcf2f0b121d2d967b15d8c16c1c65 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 21 Dec 2015 19:08:59 +0100 Subject: [PATCH] Set IP address for static mirror and debug for mirror-isc --- modules/roles/manifests/debug_mirror.pp | 3 ++- modules/roles/manifests/static_mirror.pp | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/roles/manifests/debug_mirror.pp b/modules/roles/manifests/debug_mirror.pp index c2ec74afe..2643c3b38 100644 --- a/modules/roles/manifests/debug_mirror.pp +++ b/modules/roles/manifests/debug_mirror.pp @@ -1,6 +1,7 @@ class roles::debug_mirror { $vhost_listen = $::hostname ? { - klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80', + klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80', + mirror-isc => '149.20.20.20:80 [2001:4f8:8:36::1deb:20]:80', default => '*:80', } diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index be25b5bd8..32de1c12d 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -32,12 +32,14 @@ class roles::static_mirror { } $vhost_listen = $::hostname ? { - klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80', - default => '*:80', + klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80', + mirror-isc => '149.20.20.20:80 [2001:4f8:8:36::1deb:20]:80', + default => '*:80', } $vhost_listen_443 = $::hostname ? { - klecker => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443', - default => '*:443', + klecker => '130.89.148.14:443 [2001:610:1908:b000::148:14]:443', + mirror-isc => '149.20.20.20:443 [2001:4f8:8:36::1deb:20]:443', + default => '*:443', } apache2::config { 'local-static-vhost.conf': -- 2.20.1