From 75fd8054c8e23cad37c5afe6db35edde509c0861 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 15 Sep 2019 18:55:52 +0200 Subject: [PATCH] temporary fix for sso_rp/ca.crl.erb using the now-removed roles[sso] hostlist --- modules/roles/TODO | 3 ++- modules/roles/templates/sso_rp/ca.crl.erb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/roles/TODO b/modules/roles/TODO index 88627d873..c4b59df2a 100644 --- a/modules/roles/TODO +++ b/modules/roles/TODO @@ -1,3 +1,4 @@ - the two bugs web hosts handle /srv/bugs.debian.org/cache/libravatar differently. Figure out which is best and move the definition to bugs_web. - +- modules/roles/templates/sso_rp/ca.crl.erb hardcodes the sso master name. + Probably want to store/collect the CRL? diff --git a/modules/roles/templates/sso_rp/ca.crl.erb b/modules/roles/templates/sso_rp/ca.crl.erb index b246c781d..a10d51eb4 100644 --- a/modules/roles/templates/sso_rp/ca.crl.erb +++ b/modules/roles/templates/sso_rp/ca.crl.erb @@ -12,7 +12,7 @@ end crl = [] roles = scope.lookupvar('deprecated::roles') -roles['sso'].each do |node| +['diabelli.debian.org'].each do |node| c = getcrl(node) next if c.nil? crl << c -- 2.20.1