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:
1793966
)
Try to write resolv.conf if we have nameservers
author
Peter Palfrader
<peter@palfrader.org>
Tue, 1 Mar 2011 16:50:43 +0000
(17:50 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 1 Mar 2011 16:50:43 +0000
(17:50 +0100)
manifests/site.pp
patch
|
blob
|
history
diff --git
a/manifests/site.pp
b/manifests/site.pp
index
97df07e
..
8a19c50
100644
(file)
--- a/
manifests/site.pp
+++ b/
manifests/site.pp
@@
-122,8
+122,9
@@
node default {
case $brokenhosts {
"true": { include hosts }
}
- case getfromhash($hosterinfo, 'name') {
- "ubcece", "darmstadt", "ftcollins", "grnet": { include resolv }
+ case getfromhash($hosterinfo, 'nameservers') {
+ false: {}
+ default: { include resolv }
}
case $portforwarder_user_exists {
"true": { include portforwarder }