Re: [Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Andy Parker
On Fri, Oct 24, 2014 at 10:48 AM, Luke Kanies wrote: > On Oct 24, 2014, at 9:59 AM, Andy Parker wrote: > > On Fri, Oct 24, 2014 at 2:47 AM, Erik Dalén > wrote: > >> On 24 October 2014 03:24, Henrik Lindberg > > wrote: >> >>> On 2014-24-10 2:04, Andy Parker wrote: >>> A while ago we removed

Re: [Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Luke Kanies
On Oct 24, 2014, at 9:59 AM, Andy Parker wrote: > On Fri, Oct 24, 2014 at 2:47 AM, Erik Dalén > wrote: > On 24 October 2014 03:24, Henrik Lindberg > wrote: > On 2014-24-10 2:04, Andy Parker wrote: > A while ago we removed support for puppet to *send* YAML on the network. > At the same time we

[Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Henrik Lindberg
On 2014-24-10 18:40, Joshua Hoblitt wrote: On 10/23/2014 05:04 PM, Andy Parker wrote: MessagePack might be nice. It is pretty well specified, has a fairly large number of libraries written for it, but it doesn't do much to help us solve the wild west of encoding in puppet. In MessagePack there a

[Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Henrik Lindberg
On 2014-24-10 18:44, Trevor Vaughan wrote: I would like to ask for a puppet subcommand that pretty prints (with highlighting?!) the catalog. For large catalogs, those newlines can add 50k or more and the less the better IMO. Totally agree. In fact, storing and viewing should really be separat

Re: [Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Andy Parker
On Fri, Oct 24, 2014 at 2:47 AM, Erik Dalén wrote: > On 24 October 2014 03:24, Henrik Lindberg > wrote: > >> On 2014-24-10 2:04, Andy Parker wrote: >> >>> A while ago we removed support for puppet to *send* YAML on the network. >>> At the same time we converted to using safe_yaml for receiving Y

Re: [Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-24 Thread Erik Dalén
On 24 October 2014 03:24, Henrik Lindberg wrote: > On 2014-24-10 2:04, Andy Parker wrote: > >> A while ago we removed support for puppet to *send* YAML on the network. >> At the same time we converted to using safe_yaml for receiving YAML in >> order to keep compatibility with existing agents. In

[Puppet-dev] Re: Switching from YAML and PSON to JSON

2014-10-23 Thread Henrik Lindberg
On 2014-24-10 2:04, Andy Parker wrote: A while ago we removed support for puppet to *send* YAML on the network. At the same time we converted to using safe_yaml for receiving YAML in order to keep compatibility with existing agents. Instead of YAML all of the communication was done with PSON, whi