[chef] Erubis template improper implementation in CHEF?


Chronological Thread 
  • From: Denis Barishev < >
  • To:
  • Subject: [chef] Erubis template improper implementation in CHEF?
  • Date: Mon, 24 Jun 2013 19:15:44 +0800

Hello chefs,

I've just run into an issue with Erubis enhancers. This capability doesn't completely work with chef.
The chef's method of extending Erubis::Context seems a bit strange for me now.

So far I want to enhance Eruby with Erubis::PrintEnabledEnhancer, it should work like this

Erubis::Eruby.send(:include, Erubis::PrintEnabledEnhancer)

How ever if I do this the chef templating code completely breaks... If opscode guys inherited Eruby and extended it with all node and chef stuff. The Erubis functionality should work fine.

Does anybody noticed this, maybe there should be a ticket open for this?

Regards,
Denis




Archive powered by MHonArc 2.6.16.

§