]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/templates: add jinja2 lint 42342/head
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 14 Jul 2021 18:57:51 +0000 (14:57 -0400)
committerDimitri Savineau <dsavinea@redhat.com>
Tue, 20 Jul 2021 13:58:15 +0000 (09:58 -0400)
commit9eac2fba90a3b179087455100e494d7da6b0910e
tree4234d1c69f1e73072f4f4ad25ba80465c4e69b3e
parentd373d07a9c77cd408107cb15f5b1bfb0e2bc7763
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>
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