diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2011-02-25 14:39:10 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2011-02-25 14:39:10 +0100 |
commit | c261413b41fe88d3bca1842c96b5dafa3eee5987 (patch) | |
tree | ae840efdaefe3785e074b56fcd15ca1a00138a1f | |
parent | 11f28c219691fb2ff67a36a2457498587cbedc5b (diff) | |
download | puppet-dhcp-c261413b41fe88d3bca1842c96b5dafa3eee5987.tar.gz puppet-dhcp-c261413b41fe88d3bca1842c96b5dafa3eee5987.tar.bz2 |
dhcp/subnet.conf.erb - corrected template
-rw-r--r-- | templates/subnet.conf.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%> |