aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>2010-12-01 12:33:08 +0100
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>2010-12-01 12:33:08 +0100
commitf156567a335c6b6bfe3ea578ad73b5c7ae707a02 (patch)
treecd16c013818a5478d70541c1413251ef9f4c87ee
parenta9257260f87dc6fc4b2d75276d2d0c812766c3f5 (diff)
downloadpuppet-dhcp-f156567a335c6b6bfe3ea578ad73b5c7ae707a02.tar.gz
puppet-dhcp-f156567a335c6b6bfe3ea578ad73b5c7ae707a02.tar.bz2
dhcp - updated template for debian configuration
-rw-r--r--templates/dhcpd.conf.debian.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/dhcpd.conf.debian.erb b/templates/dhcpd.conf.debian.erb
index 7606c0c..ee95bee 100644
--- a/templates/dhcpd.conf.debian.erb
+++ b/templates/dhcpd.conf.debian.erb
@@ -18,8 +18,8 @@ authoritative;
#authoritative;
<% end -%>
-<% if dhcpd_opts and not dhcpd_opts.empty? -%>
-<%= dhcpd_opts.collect! {|i| "#{i}" }.join(";\n") %>
+<% if has_variable?('dhcpd_opts') and not dhcpd_opts.empty? -%>
+<%= dhcpd_opts.join(";\n") %>
<% end -%>
# Use this to send dhcp log messages to a different log file (you also