[chef] Re: Re: Re: Re: Write node config in ruby


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Cc: Eric-Olivier Lamey < >
  • Subject: [chef] Re: Re: Re: Re: Write node config in ruby
  • Date: Thu, 07 Aug 2014 11:37:59 -0400

On Thu Aug  7 04:11:17 2014, Eric-Olivier Lamey wrote:
On Thu, Aug 7, 2014 at 3:41 AM, Lamont Granquist 
< >
 wrote:
On 8/6/14, 7:31 PM, BrĂ¡ulio Bhavamitra wrote:

Another limitation introduced with the chef's new json parser: comments
can't be used.

Did we support that previously?  If there's an actual regression there, I'll
fix it.

I'm not sure it was supported explicitly, but it works with
chef-client 11.12.8 (which we are using) but doesn't with 11.14.2.

It may be related to the switch from Yajl to FFI_Yajl
(https://github.com/opscode/chef/commit/2a9f12b4503c9b8deed2b1229877b978478a0b3b).

https://github.com/opscode/chef/issues/1775

it looks like yajl-ruby sets allow comments by default, so we've had comments enabled in the yajl sections of the codebase all along (but probably not the JSON gem ones).



Archive powered by MHonArc 2.6.16.

§