summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_gce.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-07-21 14:54:06 -0400
committerScott Moser <smoser@ubuntu.com>2014-07-21 14:54:06 -0400
commite9f9c1e1cd47786b93491fd0f73467674c88828e (patch)
tree8fe4d23d6523be2d090e5c3a81f530be7b623cc5 /tests/unittests/test_datasource/test_gce.py
parent6a4976e8a9915680fbc91f90bed8fcfa79cba5cf (diff)
parentf86d0aae805aa9b3c556f09629e5be2affbc1c5e (diff)
downloadvyos-cloud-init-e9f9c1e1cd47786b93491fd0f73467674c88828e.tar.gz
vyos-cloud-init-e9f9c1e1cd47786b93491fd0f73467674c88828e.zip
Allow the usage of jinja2 templates
This drops the hard requirement on Cheetah. Jinja is a python 2.4->3.x compatible templating engine, allow its optional usage (until we can depreciate cheetah) by allowing for specifying a template file header that can define which template engine to use. If the template file header does not specify a renderer, then assume that that is cheetah. If cheetah is not available, then use a limited builtin renderer on a best effort basis, and log the warning. LP: #1219223
Diffstat (limited to 'tests/unittests/test_datasource/test_gce.py')
0 files changed, 0 insertions, 0 deletions