Hello, everyone. I know puppet 8 still accept ERB templates, but it seems like EPP is a preferred method for templates. Going forward (version 9?), would ERB templates still be accepted? Thank you.
c
csharpsteen
09/16/2025, 5:58 PM
I don't know of any plans to remove ERB. I would also argue against it if proposed as it would break a lot of existing module content.
That said, EPP has much better performance and should be preferred for all new templates, and converted to as time allows.
ERB templates have to go to extraordinary lengths to ensure variable mutations in template logic don't leak back into catalog compilation --- and that consumes quite a bit of CPU and RAM.
r
runlolarun
09/16/2025, 6:00 PM
Thank you very much.
h
helindbe
09/18/2025, 3:26 PM
Maybe good to put a deprecation warning into the ERB for Puppet 9? To get people to react. Then make ERB even slower in 10 or 11 👹
c
csharpsteen
09/18/2025, 3:27 PM
Sounds like a setup for a good consultancy gig: put random delays in
erb()
and then bill folks to fix performance 🧌
h
helindbe
09/18/2025, 3:28 PM
Maybe you can send 2-3% of your revenue my way 🤪