Hello, everyone. I know puppet 8 still accept ERB...
# puppet
r
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
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
Thank you very much.
h
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
Sounds like a setup for a good consultancy gig: put random delays in
erb()
and then bill folks to fix performance 🧌
h
Maybe you can send 2-3% of your revenue my way 🤪