From: Sage Weil Date: Fri, 31 Jul 2015 19:30:44 +0000 (-0400) Subject: rgw: enable appropriate ceph-radosgw@ if systemd X-Git-Tag: v1.5.27~5^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=418da7b529643792d52e25fd8b96a85c0777dc8b;p=ceph-deploy.git rgw: enable appropriate ceph-radosgw@ if systemd Note that this still doesn't work quite right... perhaps the pass in init is not systemd? Signed-off-by: Sage Weil --- diff --git a/ceph_deploy/rgw.py b/ceph_deploy/rgw.py index 73cd748..b4e9c57 100644 --- a/ceph_deploy/rgw.py +++ b/ceph_deploy/rgw.py @@ -105,10 +105,14 @@ def create_rgw(distro, name, cluster, init): ], timeout=7 ) + elif init == 'systemd': + system.enable_service( + distro.conn, + service='ceph-radosgw@{name}'.format(name=name) + ) if distro.is_el: - system.enable_service(distro.conn, service="ceph-radosgw") - + system.enable_service(distro.conn, service='ceph-radosgw') def rgw_create(args): cfg = conf.ceph.load(args)