]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Detect and support both systemd and sysvinit on Fedora, RHEL and CentOS 344/head
authorMilan Broz <mbroz@redhat.com>
Tue, 11 Aug 2015 07:05:04 +0000 (09:05 +0200)
committerMilan Broz <mbroz@redhat.com>
Tue, 11 Aug 2015 07:12:51 +0000 (09:12 +0200)
commit0fbc7bd57e3fcef2ad700fc2cdf208f6befd999c
tree621592fa855145e451e9511e2cd38ba2cd9c5bb4
parent068df64778ab275754f8b24a218f6295e235ed1b
Detect and support both systemd and sysvinit on Fedora, RHEL and CentOS

To properly install systemd-enabled and old (sysvinit) Ceph packages
we need to properly detect when systemd target is used.

This cannot be done just by checking distro version, it depends
on Ceph package content (sysvinit can be used on systemd distro as well).

Let's check ceph.target existence and enable systemd only in this case.

Signed-off-by: Milan Broz <mbroz@redhat.com>
ceph_deploy/hosts/centos/__init__.py
ceph_deploy/hosts/centos/mon/create.py
ceph_deploy/hosts/fedora/__init__.py
ceph_deploy/hosts/fedora/mon/create.py
ceph_deploy/hosts/rhel/__init__.py
ceph_deploy/hosts/rhel/mon/create.py