X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fproduction%2Fhiera.yaml;h=a63fc9232bdd3c7075f8779e56bb7bc23f9b1d0c;hb=a4c92ff7477d09b480cab028411bc7c6b250604e;hp=44c7ecdb060fa55532464ec1cd98ca3edbcd16fe;hpb=503e4cf5c54e3fe4b802038e8917341c4ce803e5;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml index 44c7ecd..a63fc92 100644 --- a/environments/production/hiera.yaml +++ b/environments/production/hiera.yaml @@ -6,14 +6,8 @@ defaults: data_hash: yaml_data hierarchy: -# FIXME: those informations should be taken in LDAP, but bootstrap -# problem for the hostname - - name: "Per-named-node data" - mapped_paths: [ldapvar.self.cn, hostname, "named_nodes/%{hostname}.yaml"] - - - name: "Per-node data" - path: "nodes/%{facts.ec2_metadata.hostname}.yaml" -### /FIXME + - name: "Initialization variables" + path: "/root/puppet_variables.json" - name: "Per-role data" mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]