summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-05-22 23:33:19 +0200
committermh <mh@immerda.ch>2009-05-22 23:33:19 +0200
commit1c77a21234e5ba32f4a7c03c727e3e20119784c3 (patch)
treed4f774a8c8b8ab2f5dab205a2e41c93aa4aee7f1
parent717ec7c54da8d4bd66acd6c5b70504087601529a (diff)
downloadpuppet-resolvconf-1c77a21234e5ba32f4a7c03c727e3e20119784c3.tar.gz
puppet-resolvconf-1c77a21234e5ba32f4a7c03c727e3e20119784c3.tar.bz2
now new additional lines
-rw-r--r--templates/resolvconf.OpenBSD.erb4
-rw-r--r--templates/resolvconf.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/resolvconf.OpenBSD.erb b/templates/resolvconf.OpenBSD.erb
index 945284e..27c2a69 100644
--- a/templates/resolvconf.OpenBSD.erb
+++ b/templates/resolvconf.OpenBSD.erb
@@ -1,5 +1,5 @@
# managed by puppet
lookup file bind
-<% resolvconf_nameservers.split(':').each do |nameserver| -%>
+<%- resolvconf_nameservers.split(':').each do |nameserver| -%>
nameserver <%= nameserver %>
-<% end -%>
+<%- end -%>
diff --git a/templates/resolvconf.erb b/templates/resolvconf.erb
index f2c17a6..ca7bce7 100644
--- a/templates/resolvconf.erb
+++ b/templates/resolvconf.erb
@@ -3,6 +3,6 @@
domain <%= resolvconf_domain %>
search <%= resolvconf_search %>
-<% resolvconf_nameservers.split(':').each do |nameserver| -%>
+<%- resolvconf_nameservers.split(':').each do |nameserver| -%>
nameserver <%= nameserver %>
-<% end -%>
+<%- end -%>