summaryrefslogtreecommitdiff
path: root/templates/resolvconf.erb
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-05-25 10:53:10 +0200
committerMarcel Haerry <haerry@puzzle.ch>2009-05-25 10:53:10 +0200
commitc1af334f136fe24ad1a544142dfa8ffed1325657 (patch)
treeb2394a525b7a1cd74335abe6767f7b63a763a5fd /templates/resolvconf.erb
parent4a235226de70fed2c1679c4ec8a432b4c74a65cd (diff)
parent1c77a21234e5ba32f4a7c03c727e3e20119784c3 (diff)
downloadpuppet-resolvconf-c1af334f136fe24ad1a544142dfa8ffed1325657.tar.gz
puppet-resolvconf-c1af334f136fe24ad1a544142dfa8ffed1325657.tar.bz2
merged with immerda
Diffstat (limited to 'templates/resolvconf.erb')
-rw-r--r--templates/resolvconf.erb11
1 files changed, 5 insertions, 6 deletions
diff --git a/templates/resolvconf.erb b/templates/resolvconf.erb
index 0bc467f..c9a43cc 100644
--- a/templates/resolvconf.erb
+++ b/templates/resolvconf.erb
@@ -1,8 +1,7 @@
# managed by puppet
+domain <%= resolvconf_domain %>
+search <%= resolvconf_search %>
-domain <%= real_resolvconf_domain %>
-search <%= real_resolvconf_search %>
-
-<% real_resolvconf_nameservers.split(':').each do |val| -%>
-nameserver <%= val %>
-<% end -%>
+<%- resolvconf_nameservers.split(':').each do |nameserver| -%>
+nameserver <%= nameserver %>
+<%- end -%>