projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
puppet 4 foo
[mirror/dsa-puppet.git]
/
modules
/
resolv
/
templates
/
resolv.conf.erb
diff --git
a/modules/resolv/templates/resolv.conf.erb
b/modules/resolv/templates/resolv.conf.erb
index
dc2babe
..
a42aa25
100644
(file)
--- a/
modules/resolv/templates/resolv.conf.erb
+++ b/
modules/resolv/templates/resolv.conf.erb
@@
-10,7
+10,7
@@
searchpaths << "debian.org" -%>
search <%= searchpaths.to_a.flatten.join(" ") %>
<%
nameservers = []
-if %w{draghi}.include?(hostname)
+if %w{draghi}.include?(
@
hostname)
nameservers << "127.0.0.1"
end
nameservers += @ns