output: add more items to mustach tags

Base level printing; localstime, number of ranges and shared networks,
project version, and file paths and time stamps.

Also print error and stop template processing when unknown tag is
encountered.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-14 10:46:48 +00:00
parent d24313d25a
commit ff3d9523e6
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
4 changed files with 154 additions and 34 deletions

View file

@ -114,6 +114,12 @@ Summary:
backup_percent: 2
status: 0
number_of_ranges: 5
number_of_shared_networks: 2
--- skip ok ---
Subnets:
location: example1
@ -189,3 +195,9 @@ Summary:
backup_percent: 2
status: 0
number_of_ranges: 5
number_of_shared_networks: 2