]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add systemd name generation to daemon identity
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 29 Sep 2023 18:47:10 +0000 (14:47 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:20 +0000 (09:30 -0500)
commitd7f6f632d03438de24ea267d93db9b38089e4026
tree93aba42734c859789de8e94c6fd284197dfa8a96
parentda3a17cb0f52d0da9fbe8ae1aa86fbec033f77e6
cephadm: add systemd name generation to daemon identity

There are a bunch of places in the code that wants the full systemd
service name but the code generally is just doing string concatenation.
Add a method to avoid stringing it all the time. This will help as there
will be more systemd work in the future.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/daemon_identity.py