Add resource agents to debian build, trivial C&P error
cover Add resource agents to debian build, trivial C&P error
Hi,
please consider two follow-up patches to the OCF resource agents: the first adds them to the Debian build, as a separate package "ceph-resource-agents" that depends on resource-agents, the second fixes a trivial (and embarassing, however harmless) cut and paste error. Thanks!
Cheers,
Florian
PATCH 1/2 debian: build ceph-resource-agents
--- debian/ceph-resource-agents.install | 1 + debian/control | 13 +++++++++++++ debian/rules | 2 ++ 3 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 debian/ceph-resource-agents.install
debian/ceph-resource-agents.install new file +1 -0
@@ -0,0 +1 @@ +usr/lib/ocf/resource.d/ceph/*
debian/control +13 -0
@@ -112,6 +112,19 @@ Description: debugging symbols for ceph-common . This package contains the debugging symbols for ceph-common. +Package: ceph-resource-agents +Architecture: linux-any +Recommends: pacemaker +Priority: extra +Depends: ceph (= ${binary:Version}), ${misc:Depends}, resource-agents +Description: OCF-compliant resource agents for Ceph + Ceph is a distributed storage and network file system designed to provide + excellent performance, reliability, and scalability. + . + This package contains the resource agents (RAs) which integrate + Ceph with OCF-compliant cluster resource managers, + such as Pacemaker. + Package: librados2 Conflicts: librados, librados1 Replaces: librados, librados1
debian/rules +2 -0
@@ -20,6 +20,8 @@ endif export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +extraopts += --with-ocf + ifeq ($(DEB_HOST_ARCH), armel) # armel supports ARMv4t or above instructions sets. # libatomic-ops is only usable with Ceph for ARMv6 or above.
Signature · 1 line
1.7.5.4
PATCH 2/2 OCF RA: fix variable name
In reply to Florian Haas--- src/ocf/ceph.in | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
src/ocf/ceph.in +3 -3
@@ -16,15 +16,15 @@ ceph_meta_data() { case $__SCRIPT_NAME in "osd") longdesc="Wraps the ceph init script to provide an OCF resource agent that manages and monitors the Ceph OSD service." - longdesc="Manages a Ceph OSD instance." + shortdesc="Manages a Ceph OSD instance." ;; "mds") longdesc="Wraps the ceph init script to provide an OCF resource agent that manages and monitors the Ceph MDS service." - longdesc="Manages a Ceph MDS instance." + shortdesc="Manages a Ceph MDS instance." ;; "mon") longdesc="Wraps the ceph init script to provide an OCF resource agent that manages and monitors the Ceph MON service." - longdesc="Manages a Ceph MON instance." + shortdesc="Manages a Ceph MON instance." ;; esac
Signature · 1 line
1.7.5.4
Sage Weil
AppliedApplied, thanks!
Lazslo, let me know if anything is amiss with the Debian bits.
Thanks!
sage
Quoted 17 lines · Florian Haas
Hi,
please consider two follow-up patches to the OCF resource agents: the first adds them to the Debian build, as a separate package "ceph-resource-agents" that depends on resource-agents, the second fixes a trivial (and embarassing, however harmless) cut and paste error. Thanks!
Cheers,
Florian--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html