isomer.tool.templates module

Module: Templates

Internal template handling utilities.

format_template(template, content)[source]

Render a given pystache template with given content

format_template_file(filename, content)[source]

Render a given pystache template file with given content

insert_nginx_service(definition)[source]

Insert a new nginx service definition

write_template(template, target, content)[source]

Write a new file from a given pystache template file and content

write_template_file(source, target, content)[source]

Write a new file from a given pystache template file and content