language-puppet icon indicating copy to clipboard operation
language-puppet copied to clipboard

Add EPP support

Open PierreR opened this issue 7 years ago • 5 comments

Would it be to much of an effort to support https://puppet.com/docs/puppet/5.3/lang_template_epp.html

Cheers,

PierreR avatar Aug 27 '18 19:08 PierreR

It would be a significant endeavor, as language-puppet works like "old puppet", where things are either statements or expressions. This won't cut it with templates, where most things are statement expressions.

This would be nice though!

bartavelle avatar Aug 28 '18 08:08 bartavelle

link to #190 and #191 for discussion about rewriting the parser

PierreR avatar Sep 20 '18 10:09 PierreR

I am looking into using a lexer that mimicks the original. This would have support for epp out of the box. However, it would require supporting expressions as statements, which would require a lot of changes in the parser :/

bartavelle avatar Sep 20 '18 12:09 bartavelle

Cannot upgrade puppet-nginx to 0.14.0 because of this:

https://github.com/voxpupuli/puppet-nginx/compare/v0.13.0...v0.14.0

PierreR avatar Nov 02 '18 08:11 PierreR

Another module that is now using the epp function: https://github.com/puppetlabs/puppetlabs-docker/blob/master/manifests/run.pp#L425

PierreR avatar Apr 07 '19 07:04 PierreR