summaryrefslogtreecommitdiff
path: root/packages/brpm
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 /packages/brpm
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 'packages/brpm')
-rwxr-xr-xpackages/brpm1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/brpm b/packages/brpm
index f8ba1db1..b8bbff9d 100755
--- a/packages/brpm
+++ b/packages/brpm
@@ -37,6 +37,7 @@ PKG_MP = {
'redhat': {
'argparse': 'python-argparse',
'cheetah': 'python-cheetah',
+ 'jinja2': 'python-jinja2',
'configobj': 'python-configobj',
'jsonpatch': 'python-jsonpatch',
'oauth': 'python-oauth',