X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fintegration%2Fhiera.yaml;fp=environments%2Fintegration%2Fhiera.yaml;h=a63fc9232bdd3c7075f8779e56bb7bc23f9b1d0c;hb=85abd2fdbad83430df4824843764719064afb9b4;hp=0000000000000000000000000000000000000000;hpb=a77b768abb31be9e19563e130d763f163496477d;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/integration/hiera.yaml b/environments/integration/hiera.yaml new file mode 100644 index 0000000..a63fc92 --- /dev/null +++ b/environments/integration/hiera.yaml @@ -0,0 +1,19 @@ +--- +version: 5 + +defaults: + datadir: data + data_hash: yaml_data + +hierarchy: + - name: "Initialization variables" + path: "/root/puppet_variables.json" + + - name: "Per-role data" + mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] + + - name: "Per-type data" + path: "types/%{facts.ec2_metadata.instance-type}.yaml" + + - name: "Common data" + path: "common.yaml"