X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fsyncproxy%2Fsyncproxy.debian.org-index.html.erb;h=ef9fdfcd58912ce4ac61770a05aa44b5e4eb2c3d;hb=97bb59312bddfa861db8b588a94df270320b28c1;hp=062731ee949fe67ec01ba493988309035eee49b1;hpb=fbe56e4206801c65dae31a524d1af8665ead5714;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 062731ee9..ef9fdfcd5 100644 --- a/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb +++ b/modules/roles/templates/syncproxy/syncproxy.debian.org-index.html.erb @@ -1,13 +1,13 @@ - Welcome to <%= syncproxy_name %>! + Welcome to <%= @syncproxy_name %>! -

Welcome to <%= syncproxy_name %>!

+

Welcome to <%= @syncproxy_name %>!

-This is <%= syncproxy_name %>, a syncproxy run by and for the , a syncproxy run by and for the Debian Project to aid in mirroring our software. Consult the mirrors section of the Debian website for more information. @@ -20,7 +20,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(/[\/-]/,'_') - if has_variable?(varname) and (eval(varname)) == 'true' + if has_variable?(varname) and (eval("@"+varname)) lines << "
  • #{archive} [trace directory]
  • " end end