X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=environments%2Fproduction%2Fhiera.yaml;h=9cedf4782183e0fda9246de2d00e2f292cfb536b;hb=4676a0182e6624700f753923b7a3286712568e34;hp=f5e5bc22105400b09bbbbec7d2e59e0a99960cee;hpb=945ae444952f3322c4687059f0ba6b7308750feb;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/environments/production/hiera.yaml b/environments/production/hiera.yaml index f5e5bc2..9cedf47 100644 --- a/environments/production/hiera.yaml +++ b/environments/production/hiera.yaml @@ -6,8 +6,17 @@ 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"]