diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-07-21 14:54:06 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-07-21 14:54:06 -0400 |
commit | e9f9c1e1cd47786b93491fd0f73467674c88828e (patch) | |
tree | 8fe4d23d6523be2d090e5c3a81f530be7b623cc5 /setup.py | |
parent | 6a4976e8a9915680fbc91f90bed8fcfa79cba5cf (diff) | |
parent | f86d0aae805aa9b3c556f09629e5be2affbc1c5e (diff) | |
download | vyos-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 'setup.py')
0 files changed, 0 insertions, 0 deletions