diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2011-02-25 16:05:00 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2011-02-25 16:05:00 +0100 |
commit | 4229d744389a772d5819ba8f90934ad543e80f79 (patch) | |
tree | 1974a6e29fa7f793c9885cf9815b40d19c0a9ab8 /templates | |
parent | c261413b41fe88d3bca1842c96b5dafa3eee5987 (diff) | |
download | puppet-dhcp-4229d744389a772d5819ba8f90934ad543e80f79.tar.gz puppet-dhcp-4229d744389a772d5819ba8f90934ad543e80f79.tar.bz2 |
dhcp/subnet.conf.erb - corrected template one more/last time
Diffstat (limited to 'templates')
-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 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 -%> |