projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
historical_mirror -> hiera role
[mirror/dsa-puppet.git]
/
modules
/
roles
/
templates
/
apache-archive.debian.org.erb
diff --git
a/modules/roles/templates/apache-archive.debian.org.erb
b/modules/roles/templates/apache-archive.debian.org.erb
index
0cf3b0c
..
e8d8440
100644
(file)
--- a/
modules/roles/templates/apache-archive.debian.org.erb
+++ b/
modules/roles/templates/apache-archive.debian.org.erb
@@
-3,16
+3,7
@@
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
## 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']) -%>
ServerAdmin debian-admin@debian.org
ServerName archive.debian.org
<% if scope.function_onion_global_service_hostname(['archive.debian.org']) -%>