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:
53c5054
)
fix unbound check in resolv.conf template
author
Peter Palfrader
<peter@palfrader.org>
Sat, 18 Mar 2017 19:21:27 +0000
(19:21 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 18 Mar 2017 19:21:27 +0000
(19:21 +0000)
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
a42aa25
..
7733374
100644
(file)
--- a/
modules/resolv/templates/resolv.conf.erb
+++ b/
modules/resolv/templates/resolv.conf.erb
@@
-15,7
+15,7
@@
if %w{draghi}.include?(@hostname)
end
nameservers += @ns
-if @unbound
&& @unbound == "true"
+if @unbound
nameservers = ['127.0.0.1']
end