fixes #6618 - provide an indentation helper for provisioning templates

This is useful for OpenStack cloud-init templates, where I want to use existing Foreman snippets but need to indent every line.  e.g. `indent 4, snippet("foo")`