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:
3280b16
)
Cannot assign a var twice?
author
Peter Palfrader
<peter@palfrader.org>
Sat, 5 Mar 2011 10:24:13 +0000
(11:24 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 5 Mar 2011 10:24:13 +0000
(11:24 +0100)
manifests/site.pp
patch
|
blob
|
history
diff --git
a/manifests/site.pp
b/manifests/site.pp
index
55b695d
..
9bab5c6
100644
(file)
--- a/
manifests/site.pp
+++ b/
manifests/site.pp
@@
-106,13
+106,15
@@
node default {
$runs_local_resolver = true
}
default: {
- $runs_local_resolver = false
- }
- }
- case getfromhash($nodeinfo, 'squeeze') {
- true: {
- include unbound
- $runs_local_resolver = true
+ case getfromhash($nodeinfo, 'squeeze') {
+ true: {
+ include unbound
+ $runs_local_resolver = true
+ }
+ default: {
+ $runs_local_resolver = false
+ }
+ }
}
}
include resolv