]>
Commit | Line | Data |
---|---|---|
0b62a18b IB |
1 | --- |
2 | version: 5 | |
3 | ||
4 | defaults: | |
5 | datadir: data | |
6 | data_hash: yaml_data | |
7 | ||
8 | hierarchy: | |
503e4cf5 IB |
9 | # FIXME: those informations should be taken in LDAP, but bootstrap |
10 | # problem for the hostname | |
11 | - name: "Per-named-node data" | |
12 | mapped_paths: [ldapvar.self.cn, hostname, "named_nodes/%{hostname}.yaml"] | |
13 | ||
0b62a18b IB |
14 | - name: "Per-node data" |
15 | path: "nodes/%{facts.ec2_metadata.hostname}.yaml" | |
503e4cf5 | 16 | ### /FIXME |
0b62a18b | 17 | |
248bd83e IB |
18 | - name: "Initialization variables" |
19 | path: "/root/puppet_variables.json" | |
20 | ||
0b62a18b | 21 | - name: "Per-role data" |
945ae444 | 22 | mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"] |
0b62a18b IB |
23 | |
24 | - name: "Per-type data" | |
25 | path: "types/%{facts.ec2_metadata.instance-type}.yaml" | |
26 | ||
27 | - name: "Common data" | |
28 | path: "common.yaml" |