integ/config/puppet-modules/openstack/puppet-ceph-2.2.0/centos/patches/0002-Newton-rebase-fixes.patch
Sun Austin 919da082af de-fuzz puppet-ceph patches
Problem:
- Centos 7.5 upgraded puppet-cephs.
- Porting of puppet-cephs patches did not resolve and 'fuzz' in the line
  numbers of the patches.
- If puppet-ceph is built by rpm 4.11, or default version of rpm
  until 4.14 is compiled, a fuzzy patch results in the creating
  of an .orig file.
- Packaging of puppet-cephs failes due to the unexpected, and
  unpackaged .orig file

Solution:
  Safest solution is to de-fuzz our puppet-cephs patches.

Story: 2003389
Task: 26755

Change-Id: I479131bd9aa5d1d8149912851180c40522ac6b1a
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-09-27 20:49:09 +08:00

48 lines
1.3 KiB
Diff

From 570520c5197dd36c3e4a7956d5916426fb75856a Mon Sep 17 00:00:00 2001
From: Don Penney <don.penney@windriver.com>
Date: Tue, 7 Feb 2017 15:49:02 -0500
Subject: [PATCH] Newton rebase fixes
---
manifests/mon.pp | 9 ++++++---
manifests/osd.pp | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/manifests/mon.pp b/manifests/mon.pp
index fa99df5..b3458d6 100644
--- a/manifests/mon.pp
+++ b/manifests/mon.pp
@@ -99,10 +99,13 @@ define ceph::mon (
}
# Everything else that is supported by puppet-ceph should run systemd.
} else {
- $init = 'systemd'
+ $init = 'sysvinit'
Service {
- name => "ceph-mon@${id}",
- enable => $mon_enable,
+ name => "ceph-mon-${id}",
+ provider => $::ceph::params::service_provider,
+ start => "service ceph start mon.${id}",
+ stop => "service ceph stop mon.${id}",
+ status => "service ceph status mon.${id}",
}
}
diff --git a/manifests/osd.pp b/manifests/osd.pp
index 9b8cd99..2187361 100644
--- a/manifests/osd.pp
+++ b/manifests/osd.pp
@@ -56,7 +56,7 @@ define ceph::osd (
$uuid = undef,
$exec_timeout = $::ceph::params::exec_timeout,
$selinux_file_context = 'ceph_var_lib_t',
- $fsid = $::ceph::profile::params::fsid,
+ $fsid = undef,
) {
include ::ceph::params
--
2.7.4