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:
09a4b91
)
Hiera does not know how to look up anything but top-level values
author
Tollef Fog Heen
<tfheen@err.no>
Wed, 1 Jan 2014 14:48:31 +0000
(15:48 +0100)
committer
Tollef Fog Heen
<tfheen@err.no>
Wed, 1 Jan 2014 14:48:31 +0000
(15:48 +0100)
modules/roles/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/init.pp
b/modules/roles/manifests/init.pp
index
3857240
..
1178aa3
100644
(file)
--- a/
modules/roles/manifests/init.pp
+++ b/
modules/roles/manifests/init.pp
@@
-1,6
+1,8
@@
class roles {
- if $::hostname in hiera('roles::puppetmaster') {
+ $roles = hiera('roles')
+
+ if $::hostname in $roles['puppetmaster'] {
include puppetmaster
}