X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsyncproxy%2Fsyncproxy.debian.org-index.html.erb;h=4d16f1bde1c088fcc5550ce5c282338b932170ef;hb=fec4861e676415e8952b36c308ed40f7ce060fc4;hp=ef9fdfcd58912ce4ac61770a05aa44b5e4eb2c3d;hpb=b529b139a60ea8355089511737c8264185d8d074;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb b/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb index ef9fdfcd5..4d16f1bde 100644 --- a/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb +++ b/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb @@ -19,7 +19,7 @@ This syncproxy contains copies of the following archives. <%= lines = [] %w{debian debian-debug debian-ports debian-security}.each do |archive| - varname = 'has_srv_mirrors_' + archive.gsub(/[\/-]/,'_') + varname = ('has' + @mirror_basedir_prefix + archive).gsub(/[\/-]/,'_') if has_variable?(varname) and (eval("@"+varname)) lines << "
  • #{archive} [trace directory]
  • " end