~chad.smith/cloud-init:jinja-for-cloud-config

Last commit made on 2018-08-28
Get this branch:
git clone -b jinja-for-cloud-config https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
jinja-for-cloud-config
Repository:
lp:~chad.smith/cloud-init

Recent commits

5fc9a07... by Chad Smith

jinja2: mandatory decorator magic for 2.7 is el-stinko.

jinja in python2.7 has a decorator implements_to_string which
adapts the behavior of the str method on a given class to encode
utf-8 the return value. Problem is that all subclasses of
Undefined need to use this decorator if overriding the __str__
method. Without the decorator, subclass.__str__ results in the
encoded response of the parent's __str__.

Also fix pycodestyle/flakes.

fa268a7... by Chad Smith

py2 jinja behaves differently than py3 upon undefined errors. separate tests

c1ef02b... by Chad Smith

lints/pycodestyle

fa51167... by Chad Smith

use templater.JINJA_AVAILABLE in unit test skip decorators

2aa7132... by Chad Smith

sort instance-data keys in convert_jinja_instance_data and publish top-level standard aliases

df0f315... by Chad Smith

default to /run/cloud-init/instance_data.json if not provided on render cli

8ede3d7... by Chad Smith

add read_cfg_paths helper for CLI tools

fbfeef6... by Chad Smith

use test module path in test failure reports instead of docstr

610512d... by Chad Smith

allow setupBasicLogging to check if a stderr handler is setup before resetting it.

44bb5f8... by Chad Smith

catch typeerror and undefinederror when rendering jinja templates to warn and skip a broken template file