Configure Ceph/OSD after Ceph/Mon when on same node
authorGiulio Fidente <gfidente@redhat.com>
Mon, 11 Jul 2016 10:12:34 +0000 (12:12 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Mon, 11 Jul 2016 10:13:50 +0000 (12:13 +0200)
When both the Ceph Monitor and OSD roles are deployed on the same
node, we need the OSD configuration to happen *after* the Monitor
configuration is finished.

Change-Id: Id2ea099a0aaba344004870e82108da288cba2cb7

manifests/profile/base/ceph/osd.pp

index a9224d3..9736656 100644 (file)
@@ -34,7 +34,7 @@ class tripleo::profile::base::ceph::osd (
 
   include ::tripleo::profile::base::ceph
 
-  if $step >= 2 {
+  if $step >= 3 {
     if $ceph_osd_selinux_permissive {
       exec { 'set selinux to permissive on boot':
         command => "sed -ie 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config",