summaryrefslogtreecommitdiff
path: root/requirements.txt
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 /requirements.txt
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 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index fdcbd143..943dbef7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,6 +2,7 @@
# Used for untemplating any files or strings with parameters.
cheetah
+jinja2
# This is used for any pretty printing of tabular data.
PrettyTable