aboutsummaryrefslogtreecommitdiff
path: root/templates/subnet.conf.erb
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2011-02-25 16:05:00 +0100
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2011-02-25 16:05:00 +0100
commit4229d744389a772d5819ba8f90934ad543e80f79 (patch)
tree1974a6e29fa7f793c9885cf9815b40d19c0a9ab8 /templates/subnet.conf.erb
parentc261413b41fe88d3bca1842c96b5dafa3eee5987 (diff)
downloadpuppet-dhcp-4229d744389a772d5819ba8f90934ad543e80f79.tar.gz
puppet-dhcp-4229d744389a772d5819ba8f90934ad543e80f79.tar.bz2
dhcp/subnet.conf.erb - corrected template one more/last time
Diffstat (limited to 'templates/subnet.conf.erb')
-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 2333514..95b0660 100644
--- a/templates/subnet.conf.erb
+++ b/templates/subnet.conf.erb
@@ -25,7 +25,7 @@ subnet <%=name%> netmask <%=netmask_eth0%> {
<% end -%>
<% if other_opts and not other_opts.empty? -%>
<% if other_opts.is_a?(Array) -%>
- <%= other_opts.join(";\n") %>
+<%= other_opts.collect! {|i| " #{i};"}.join("\n") %>
<% else -%>
<%=other_opts%>;
<% end -%>