If you have the following statement in your erb template:
The output produced by Puppet is (Please note the indents on each line of the "data" block):
But it should be:
irb creates the expected output. A quick and ugly fix is:
This command removes the additional indents, but this approach is not a feasible solution.
Please fix the issue. It was first discussed here: