aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2017-01-25 16:25:14 +0100
committerGiulio Fidente <gfidente@redhat.com>2017-01-25 16:25:14 +0100
commit467c939962b0be1d4262f557c0843ae880894e98 (patch)
tree6aba3af1a90f25388acee66665220cb28724844c
parent4a77eb9e987c924ed4e31719f4c27340c71ad41a (diff)
Ensure basic Ceph configuration is performed by RBD mirror
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
-rw-r--r--manifests/profile/pacemaker/ceph/rbdmirror.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/ceph/rbdmirror.pp b/manifests/profile/pacemaker/ceph/rbdmirror.pp
index 8e2ff77..1fab0db 100644
--- a/manifests/profile/pacemaker/ceph/rbdmirror.pp
+++ b/manifests/profile/pacemaker/ceph/rbdmirror.pp
@@ -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',