- From:
- To:
- Subject: [chef] Re: Re: Re: knife node show json format squished
- Date: Thu, 13 Jun 2013 18:19:25 +0000
On Thu, 13 Jun 2013, Steven Danna wrote:
>
On 6/12/13 8:28 PM, John Alberts wrote:
>
> me too! I've noticed this recently too. I'm not really sure when it
>
> started happening, so I can't really offer any details that would be
>
> helpful. I'd love to hear if you find a solution.
>
>
One possibility is that you are using a plugin that loads a gem which is
>
monkey-patching some core class, thus affecting the pretty-printing.
>
>
Are you using any custom/non-opscode plugin?
>
>
Sincerely,
>
>
Steven
For the most part, I had been using rvm ruby 1.9.2. Recently I installed
ruby 1.9.3 via rvm. I just tested this in my 1.9.2, and the json pretty
print is as I like it, unsquished:
$ which ruby
~/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
$ gem list chef
*** LOCAL GEMS ***
chef (10.24.0, 10.16.2)
Wrt custom/non-opscode knife plugins, for good measure, I moved aside my
~/.chef/plugins dir, reran ruby 1.9.3 test, and still got squished json.
kallen
Archive powered by MHonArc 2.6.16.