aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2011-02-25 14:39:10 +0100
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2011-02-25 14:39:10 +0100
commitc261413b41fe88d3bca1842c96b5dafa3eee5987 (patch)
treeae840efdaefe3785e074b56fcd15ca1a00138a1f /templates
parent11f28c219691fb2ff67a36a2457498587cbedc5b (diff)
downloadpuppet-dhcp-c261413b41fe88d3bca1842c96b5dafa3eee5987.tar.gz
puppet-dhcp-c261413b41fe88d3bca1842c96b5dafa3eee5987.tar.bz2
dhcp/subnet.conf.erb - corrected template
Diffstat (limited to 'templates')
-rw-r--r--templates/subnet.conf.erb2
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 -%>