From 870ac16186b79950a020dedc83e5f61eca1ccad3 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 14 Apr 2018 11:16:22 +0200 Subject: [PATCH] pkg-ruby-extras.alioth.d.o on static --- modules/roles/manifests/static_mirror.pp | 1 + .../static-mirroring/vhost/static-vhosts-simple.erb | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/modules/roles/manifests/static_mirror.pp b/modules/roles/manifests/static_mirror.pp index d9463666d..537c79d9e 100644 --- a/modules/roles/manifests/static_mirror.pp +++ b/modules/roles/manifests/static_mirror.pp @@ -110,6 +110,7 @@ class roles::static_mirror { ssl::service { 'manpages.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'mirror-master.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'onion.debian.org' : ensure => "ifstatic", notify => Exec['service apache2 reload'], key => true, } + ssl::service { 'pkg-ruby-extras.alioth.debian.org' : ensure => "present", notify => Exec['service apache2 reload'], key => true, } ssl::service { 'planet-backend.debian.org' : ensure => has_static_component('planet.debian.org') ? { true => "present", false => "absent" }, notify => Exec['service apache2 reload'], diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 13c6626e4..2708282bc 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -307,6 +307,15 @@ Use common-dsa-vhost-https-redirect lists.alioth.debian.org Redirect / https://alioth-lists.debian.net/ +Use common-dsa-vhost-https-redirect pkg-ruby-extras.alioth.debian.org + > + ServerName pkg-ruby-extras.alioth.debian.org + ServerAdmin debian-admin@debian.org + Use common-debian-service-ssl pkg-ruby-extras.alioth.debian.org + Use common-ssl-HSTS + Redirect / https://gemwatch.debian.net/ + + Use common-dsa-vhost-https-redirect video.debconf.org > ServerName video.debconf.org -- 2.20.1