We have been using puppet for several years now and up until now we have not tried to use parameters in puppet templates.
I tried to implement a simple example:
However, each time I try to validate it or put it in use in our Dev environment, I get this error:
Error: Syntax error at '|' at puppet/modules/<module_name>/templates/<template_name>.conf.epp:111:4
Error: Errors while validating epp
I try to validate the template with:
puppet epp validate <template_name>
And use the template in a class with the following code:
I have been troubleshooting this issue but I cannot see any error made on my side. It is as if puppet does not realizes the syntax.
Any help will be appreciated.