X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fproduction%2Fhiera.yaml;h=91d9bbf139b0b1362f4f8525936b3c0d791d2993;hb=96d61e22a20255c2b437eb3a3b81f9b44a1814de;hp=9cedf4782183e0fda9246de2d00e2f292cfb536b;hpb=248bd83ed797f6e0f385e72a56aa7bafdf23d490;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml deleted file mode 100644 index 9cedf47..0000000 --- a/environments/production/hiera.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -version: 5 - -defaults: - datadir: data - 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"] - - - name: "Per-type data" - path: "types/%{facts.ec2_metadata.instance-type}.yaml" - - - name: "Common data" - path: "common.yaml" diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml new file mode 120000 index 0000000..91d9bbf --- /dev/null +++ b/environments/production/hiera.yaml @@ -0,0 +1 @@ +../hiera.yaml \ No newline at end of file