historical_mirror -> hiera role
[mirror/dsa-puppet.git] / modules / roles / templates / apache-archive.debian.org.erb
index 0cf3b0c..e8d8440 100644 (file)
@@ -3,16 +3,7 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<%
-  if not @binds.kind_of?(Array)
-    raise Puppet::Error, "binds variable is not an array"
-  end
-
-  vhost_listen = @binds.map{|x| x+":80" }.join(' ')
-%>
-
-
-<VirtualHost <%= vhost_listen %>>
+<VirtualHost <%= @vhost_listen %>>
        ServerAdmin debian-admin@debian.org
        ServerName archive.debian.org
        <% if scope.function_onion_global_service_hostname(['archive.debian.org']) -%>