]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: build ceph-resource-agents
authorFlorian Haas <florian@hastexo.com>
Thu, 5 Jan 2012 21:33:31 +0000 (22:33 +0100)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 5 Jan 2012 21:46:09 +0000 (13:46 -0800)
debian/ceph-resource-agents.install [new file with mode: 0644]
debian/control
debian/rules

diff --git a/debian/ceph-resource-agents.install b/debian/ceph-resource-agents.install
new file mode 100644 (file)
index 0000000..30843f6
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/ocf/resource.d/ceph/*
index e8c4d30156b98f06531e0b9a18f5e295e45a5cc6..0f57ad3c845c146801fc89fc59f765792ff43bef 100644 (file)
@@ -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
index 4f3fe629479042eecef708bd57e099c45bb86a1c..0bc594a6f36fd912778d7a16fdb6d4faf7f4001b 100755 (executable)
@@ -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.