From: Peter Palfrader Date: Sun, 15 Sep 2019 16:55:52 +0000 (+0200) Subject: temporary fix for sso_rp/ca.crl.erb using the now-removed roles[sso] hostlist X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=75fd8054c8e23cad37c5afe6db35edde509c0861;p=mirror%2Fdsa-puppet.git temporary fix for sso_rp/ca.crl.erb using the now-removed roles[sso] hostlist --- 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