summaryrefslogtreecommitdiff
path: root/cloudinit/templater.py
AgeCommit message (Collapse)Author
2015-01-22Low hanging Python 3 fruit.Barry Warsaw
2014-11-18retain trailing newline from template files when using jinja2Scott Moser
sources.list was where this showed itself, but all rendered files would have their newline stripped. LP: #1355343
2014-07-18Add non braces matching and a few more testsJoshua Harlow
2014-07-16Log the renderer type when rendering filesJoshua Harlow
2014-07-16Add basic renderer support and more robust import handlingJoshua Harlow
2014-03-07Add some basic template testsJoshua Harlow
2014-03-05Switch to jinja & adjust tplsJoshua Harlow
2014-03-02Allow the usage of mako templatesJoshua Harlow
Mako is a python 2.6->3.x compatible templating engine, allow its optional usage (until we can depricate cheetah) by allowing for specifying a template file header that can define which template engine to use. For now support cheetah (the default) and if specified support mako as well.
2012-07-09Revert back to using cheetah + adjust resultant code + templatesJoshua Harlow
At this point there is a mixture of "double hash" cheetah comments and '#*' cheetah comments.
2012-06-16Allow file rendering to pass in a file permission when writing.Joshua Harlow
2012-06-15Change variable names to reflect usage correctlyJoshua Harlow
2012-06-11Start using tempita instead of the more complicated cheetah.Joshua Harlow
2012-06-09Remove unused imports and reduce lines needed + add copy right.Joshua Harlow
2012-06-08Ensure files end with ".tmpl" if they don't initially.Joshua Harlow
2012-06-071. Adding some new helper files that split off file inclusion, templating, ↵Joshua Harlow
importing, constant usage. 1. Move all datasources to a new sources directory 1. Rename some files to be more consistent with python file/module naming.