-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CEPH packages for Debian based distributions
While the CEPH backend packages have been available for a while for RPM based installations, this patch adds the packages bareos-filedaemon-ceph-plugin and bareos-storage-ceph for DEB based distributions. Fixes #507: build bareos-storage-ceph also for Debian/Ubuntu
- Loading branch information
1 parent
061e21f
commit 068291d
Showing
9 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@plugindir@/cephfs-fd.so | ||
@plugindir@/rados-fd.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@backenddir@/libbareossd-rados*.so | ||
@backenddir@/libbareossd-cephfs*.so | ||
@confdir@/bareos-sd.d/device-ceph-rados.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/sh | ||
# postinst script for bareos | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postinst> `configure' <most-recently-configured-version> | ||
# * <old-postinst> `abort-upgrade' <new version> | ||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
# <new-version> | ||
# * <postinst> `abort-remove' | ||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
# <failed-install-package> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see http://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
daemon_user=bareos | ||
daemon_group=bareos | ||
|
||
permissions() | ||
{ | ||
chown root:${daemon_group} /etc/bareos/bareos-sd.d/device-ceph-rados.conf | ||
} | ||
|
||
case "$1" in | ||
configure) | ||
permissions | ||
;; | ||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: bareos-filedaemon-ceph-plugin | ||
Architecture: any | ||
Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 | ||
Depends: bareos-filedaemon (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | ||
Description: Backup Archiving Recovery Open Sourced - storage-python-plugin | ||
Bareos is a set of programs to manage backup, recovery and verification of | ||
data across a network of computers of different kinds. | ||
. | ||
This package provides the CEPH plugins for the file daemon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: bareos-storage-ceph | ||
Architecture: any | ||
Pre-Depends: debconf (>= 1.4.30) | debconf-2.0 | ||
Depends: bareos-storage (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} | ||
Description: Backup Archiving Recovery Open Sourced - storage-python-plugin | ||
Bareos is a set of programs to manage backup, recovery and verification of | ||
data across a network of computers of different kinds. | ||
. | ||
This package provides the CEPH backend for the storage daemon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters