projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hiera does not know how to look up anything but top-level values
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
init.pp
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
}