Luke Kanies wrote:
On Oct 26, 2014, at 12:08 AM, James Turnbull<[email protected]>  wrote:

Andy Parker wrote:
the communication was done with PSON, which is a variant of JSON that
has been in use in puppet since at least 2010. As far as I understand
PSON started out as simply a vendored version of json_pure. The name
PSON was apparently because rails would try to patch anything named
JSON, and so they needed to name it something different to stop that
from happening (that is all hearsay, so I don't know how truthful it is).
Ah... History.

https://github.com/puppetlabs/puppet/commit/bca3b70437666a8b840af032cab20fc1ea4f18a2

In other words, exactly right.

There had to be a first time for an historical event to be reported correctly. :)


We initially just force-loaded rails first and then over-rode its
monkey patches, but then it started force-loaded all of the json libs
so it could guarantee that its (incompatible) monkey patches won.

At that point our only choice was to use different names. Yay rails.


All I remember now is that commit and Markus stroking his beard and shaking his head a lot. :)

Cheers

James

--
* The Docker Book (http://dockerbook.com)
* The LogStash Book (http://logstashbook.com)
* Pro Puppet (http://tinyurl.com/ppuppet2 )
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/544D2A11.2080109%40lovedthanlost.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to