X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fproduction%2Fhiera.yaml;h=a63fc9232bdd3c7075f8779e56bb7bc23f9b1d0c;hb=ab527dc94acbd88364a7e500b191ddeb22edf7fa;hp=095a110f60e211835ca0dce0bda7398718c96046;hpb=0b62a18bd9fc4ecd614526a9c0e3f1f17e2ce4fe;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml index 095a110..a63fc92 100644 --- a/environments/production/hiera.yaml +++ b/environments/production/hiera.yaml @@ -6,11 +6,11 @@ defaults: data_hash: yaml_data hierarchy: - - name: "Per-node data" - path: "nodes/%{facts.ec2_metadata.hostname}.yaml" + - name: "Initialization variables" + path: "/root/puppet_variables.json" - 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"