Fix wrong hiera key in ceph_rbdmirror
authorMichele Baldessari <michele@acksyn.org>
Wed, 25 Jan 2017 13:49:31 +0000 (14:49 +0100)
committerMichele Baldessari <michele@acksyn.org>
Wed, 25 Jan 2017 13:49:31 +0000 (14:49 +0100)
There is a typo in the bootstrap check which will lead to:
Could not find data item ceph_rbdmirror_bootstrap_short_node_name in any
Hiera data file and no default supplied at
/etc/puppet/modules/tripleo/manifests/profile/pacemaker/ceph/rbdmirror.pp

We need to be using the correct one:
$ hiera ceph_rbdmirror_short_bootstrap_node_name
overcloud-remote-0

Change-Id: Ic343e5f99e48360bdd2d2989781a4b6ca484e8fc

manifests/profile/pacemaker/ceph/rbdmirror.pp

index 8e2ff77..308572c 100644 (file)
@@ -37,7 +37,7 @@
 #   Defaults to hiera('step')
 #
 class tripleo::profile::pacemaker::ceph::rbdmirror (
-  $bootstrap_node = hiera('ceph_rbdmirror_bootstrap_short_node_name'),
+  $bootstrap_node = hiera('ceph_rbdmirror_short_bootstrap_node_name'),
   $client_name    = 'openstack',
   $stack_action   = hiera('stack_action'),
   $step           = hiera('step'),