diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2014-12-18 12:01:19 +0000 |
---|---|---|
committer | Patrick Darley <patrick.darley@codethink.co.uk> | 2014-12-18 12:01:19 +0000 |
commit | 3ef6555d3ce3273e440f9d8664211dbfca075324 (patch) | |
tree | f7315f3bfde2ec31963835ab19a82a7b17d60fbc /strata/ceph-service/ceph.morph | |
parent | 0182b690e74fbb13017ebeb2d6e7e828c0cfcebb (diff) | |
download | definitions-3ef6555d3ce3273e440f9d8664211dbfca075324.tar.gz |
Install the systemd units for operating ceph nodes and change name of the SysV script to accomodate this
Diffstat (limited to 'strata/ceph-service/ceph.morph')
-rw-r--r-- | strata/ceph-service/ceph.morph | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/strata/ceph-service/ceph.morph b/strata/ceph-service/ceph.morph index 67caff77..9bb038d1 100644 --- a/strata/ceph-service/ceph.morph +++ b/strata/ceph-service/ceph.morph @@ -4,15 +4,22 @@ build-system: autotools configure-commands: - NOCONFIGURE=1 ./autogen.sh - ./configure --with-nss --prefix="$PREFIX" --sysconfdir=/etc --without-fuse --without-libatomic-ops --without-libxfs +build-commands: +- make install-commands: - make install -- install -D -m 755 src/init-ceph $DESTDIR/etc/init.d/ceph -- install -d $DESTDIR/etc/ceph -- install -D -d $DESTDIR/var/lib/ceph -- install -d $DESTDIR/var/lib/ceph/mon -- install -d $DESTDIR/var/lib/ceph/osd -- install -d $DESTDIR/var/lib/ceph/mds -- install -d $DESTDIR/var/lib/ceph/tmp -- install -d $DESTDIR/var/lib/ceph/bootstrap-mds -- install -d $DESTDIR/var/lib/ceph/bootstrap-osd -- install -D -d $DESTDIR/var/log/ceph +- install -D -m 755 src/init-ceph.in "$DESTDIR"/etc/init.d/ceph-SysV +- install -D -m 755 systemd/ceph "$DESTDIR"/etc/systemd/system/ceph +- install -D -m 755 systemd/ceph-mon@.service "$DESTDIR"/etc/systemd/system/ceph-mon@.service +- install -D -m 755 systemd/ceph-osd@.service "$DESTDIR"/etc/systemd/system/ceph-osd@.service +- install -D -m 755 systemd/ceph-mds@.service "$DESTDIR"/etc/systemd/system/ceph-mds@.service +- install -D -m 755 systemd/ceph.target "$DESTDIR"/etc/systemd/system/ceph.target +- install -d "$DESTDIR"/etc/ceph +- install -D -d "$DESTDIR"/var/lib/ceph +- install -d "$DESTDIR"/var/lib/ceph/mon +- install -d "$DESTDIR"/var/lib/ceph/osd +- install -d "$DESTDIR"/var/lib/ceph/mds +- install -d "$DESTDIR"/var/lib/ceph/tmp +- install -d "$DESTDIR"/var/lib/ceph/bootstrap-mds +- install -d "$DESTDIR"/var/lib/ceph/bootstrap-osd +- install -D -d "$DESTDIR"/var/log/ceph |