aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/ceph-storage.yaml
diff options
context:
space:
mode:
authorYanis Guenane <yguenane@redhat.com>2015-08-20 10:24:57 +0200
committerGiulio Fidente <gfidente@redhat.com>2015-09-25 20:08:26 +0200
commit4570ce86a9fbbfa10c664ea3afd2574fdd4a4202 (patch)
tree087ec7d97133ee872dc070e85b2c0d016fd582ec /puppet/ceph-storage.yaml
parent109931bca3e9403abf468f371d9f118e0b5cacf3 (diff)
Allow a user to set specific setting per host
It is currently not possible to specify settings per host and not per type of host. One of the example of the problematic that could cause is : What if node0 have devices /dev/sdb and /dev/sdc while node1 have devices /dev/sda and /dev/sdd, they is currently no way to specify that simply. The idea here is to add a top priority file in the hiera lookup that will match the UUID of the System Information section in the output of the dmidecode command. The file could be provided with the firstboot/rsync stack for example. Change-Id: I3ab082c8ebd2567bd1d914fc0b924e19b1eff7d0
Diffstat (limited to 'puppet/ceph-storage.yaml')
-rw-r--r--puppet/ceph-storage.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/ceph-storage.yaml b/puppet/ceph-storage.yaml
index 4b4c76fc..f1a7e629 100644
--- a/puppet/ceph-storage.yaml
+++ b/puppet/ceph-storage.yaml
@@ -149,6 +149,7 @@ resources:
config:
hiera:
hierarchy:
+ - '"%{::uuid}"'
- heat_config_%{::deploy_config_name}
- ceph_extraconfig
- extraconfig