From: Cédric Jeanneret Date: Fri, 25 Feb 2011 13:39:10 +0000 (+0100) Subject: dhcp/subnet.conf.erb - corrected template X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c261413b41fe88d3bca1842c96b5dafa3eee5987;p=puppet-dhcp.git dhcp/subnet.conf.erb - corrected template --- diff --git a/templates/subnet.conf.erb b/templates/subnet.conf.erb index 365c2f0..2333514 100644 --- a/templates/subnet.conf.erb +++ b/templates/subnet.conf.erb @@ -6,7 +6,7 @@ subnet <%=name%> netmask <%=netmask%> { subnet <%=name%> netmask <%=netmask_eth0%> { <% end -%> <% if routers and not routers.empty? -%> - option routers routers.collect! {|i| "#{i}" }.join(","); + option routers <%= routers.collect! {|i| "#{i}" }.join(",") %>; <% else -%> option routers <%=network_eth0%>; <% end -%>