projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21fd3c
)
we don't want to sort the search paths, we already put them in in order
author
Stephen Gran
<steve@lobefin.net>
Sun, 8 Nov 2009 17:03:11 +0000
(17:03 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 8 Nov 2009 17:03:11 +0000
(17:03 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/resolv/templates/resolv.conf.erb
patch
|
blob
|
history
diff --git
a/modules/resolv/templates/resolv.conf.erb
b/modules/resolv/templates/resolv.conf.erb
index
1bf9dda
..
dc5db93
100644
(file)
--- a/
modules/resolv/templates/resolv.conf.erb
+++ b/
modules/resolv/templates/resolv.conf.erb
@@
-27,7
+27,7
@@
if nameservers.empty?
raise Puppet::ParseError, "Something has gone wrong writing resolv.conf: probably included for wrong hoster"
end
-resolvconf += "search " + searchpaths.
sort.
join(" ") + "\n"
+resolvconf += "search " + searchpaths.join(" ") + "\n"
nameservers.each do |ns|
resolvconf += "nameserver " + ns + "\n"
end