]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/templates: add jinja2 lint
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 14 Jul 2021 18:57:51 +0000 (14:57 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 10 Aug 2021 14:32:13 +0000 (16:32 +0200)
commita1fcefa17d2a7dca5e50080416f9e58984d65efc
tree4587035379c300e8c5015ddd87985229a61c9b98
parent00f7df9bada9ad839c0bd99f64bfd55238e34fa5
mgr/cephadm/templates: add jinja2 lint

This adds a jinja2 lint environment in tox for testing the cephadm jinja2
templates.

This patch fixes some minor jinja2 syntax for ganesha and keepalived even if
the current templates work perfectly.

Tags should have one (and only one) space

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 9eac2fba90a3b179087455100e494d7da6b0910e)
src/pybind/mgr/CMakeLists.txt
src/pybind/mgr/cephadm/templates/services/ingress/keepalived.conf.j2
src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
src/pybind/mgr/tox.ini