]> gitweb.fluxo.info Git - puppet-dhcp.git/commitdiff
dhcp/subnet.conf.erb - corrected template
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Fri, 25 Feb 2011 13:39:10 +0000 (14:39 +0100)
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Fri, 25 Feb 2011 13:39:10 +0000 (14:39 +0100)
templates/subnet.conf.erb

index 365c2f01268ebcb81556e1f4b11864f113395277..2333514f9bb9362e6bbc07f7327414bcd9d1c45f 100644 (file)
@@ -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 -%>