]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: copy template strings into template files
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 5 Oct 2023 20:41:12 +0000 (16:41 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 3 Nov 2023 22:51:49 +0000 (18:51 -0400)
commit45fca896bf667f2f2387d5ff5cab9d4c933bb0c7
treeae8f745d706ba063df9ffb9aa218b1be628bccf8
parenteca2c763204f9800b602cfd6d2d9409d9edf1127
cephadm: copy template strings into template files

Copy the current template strings into files under the `templates` dir.
Add a enum for holding the names of known template files.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/templates/agent.service.j2 [new file with mode: 0644]
src/cephadm/cephadmlib/templates/ceph.service.j2 [new file with mode: 0644]
src/cephadm/cephadmlib/templating.py