Hiera does not know how to look up anything but top-level values
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index 3857240..1178aa3 100644 (file)
@@ -1,6 +1,8 @@
 class roles {
 
-       if $::hostname in hiera('roles::puppetmaster') {
+       $roles = hiera('roles')
+
+       if $::hostname in $roles['puppetmaster'] {
                include puppetmaster
        }