Ensure basic Ceph configuration is performed by RBD mirror
authorGiulio Fidente <gfidente@redhat.com>
Wed, 25 Jan 2017 15:25:14 +0000 (16:25 +0100)
committerGiulio Fidente <gfidente@redhat.com>
Wed, 25 Jan 2017 15:25:14 +0000 (16:25 +0100)
Previously we missed to perform the basic Ceph client configuration
on a node where only the RBD mirror service was deployed.

Change-Id: Ie6a4284a88714bcee964a38636e12aa88bb95c9d
Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Related-Bug: #1652177

manifests/profile/pacemaker/ceph/rbdmirror.pp

index 8e2ff77..1fab0db 100644 (file)
@@ -58,6 +58,7 @@ class tripleo::profile::pacemaker::ceph::rbdmirror (
   include ::tripleo::profile::base::ceph
 
   if $step >= 3 {
+    require ::ceph::profile::client
     ceph::mirror { $client_name:
       rbd_mirror_enable => false,
       rbd_mirror_ensure => 'stopped',