From 55638892ef4dc8782315cfbf00a412b8c7e112f7 Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Thu, 28 Nov 2024 16:36:03 +0100 Subject: [PATCH] Use correct RGW systemd file name template Fixes an issue found related to #106 with systemd RGW systemd file name template not being usable at all. Fixes: #106 Signed-off-by: Tobias Wolf --- src/rookify/modules/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rookify/modules/ceph.py b/src/rookify/modules/ceph.py index f1819a5..f4b459f 100644 --- a/src/rookify/modules/ceph.py +++ b/src/rookify/modules/ceph.py @@ -71,7 +71,7 @@ def get_systemd_osd_file_name(self, host: str, osd_id: int) -> str: def get_systemd_rgw_file_name(self, host: str) -> str: return self._get_systemd_template_file_name( - self._systemd_file_name_templates.get("mon", "ceph-radosgw.target"), + self._systemd_file_name_templates.get("rgw", "ceph-radosgw.target"), host, )