]>
Commit | Line | Data |
---|---|---|
1 | --- | |
2 | version: 5 | |
3 | ||
4 | defaults: | |
5 | datadir: data | |
6 | data_hash: yaml_data | |
7 | ||
8 | hierarchy: | |
9 | - name: "Per-node data" | |
10 | path: "nodes/%{facts.ec2_metadata.hostname}.yaml" | |
11 | ||
12 | - name: "Per-role data" | |
13 | mapped_paths: [roles, role, "roles/%{role}.yaml"] | |
14 | ||
15 | - name: "Per-type data" | |
16 | path: "types/%{facts.ec2_metadata.instance-type}.yaml" | |
17 | ||
18 | - name: "Common data" | |
19 | path: "common.yaml" |