]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - environments/production/hiera.yaml
ldapvar facter
[perso/Immae/Projets/Puppet.git] / environments / production / hiera.yaml
index 095a110f60e211835ca0dce0bda7398718c96046..f5e5bc22105400b09bbbbec7d2e59e0a99960cee 100644 (file)
@@ -10,7 +10,7 @@ hierarchy:
     path: "nodes/%{facts.ec2_metadata.hostname}.yaml"
 
   - name: "Per-role data"
-    mapped_paths: [roles, role, "roles/%{role}.yaml"]
+    mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
 
   - name: "Per-type data"
     path: "types/%{facts.ec2_metadata.instance-type}.yaml"