[chef] knife node show json format squished


Chronological Thread 
  • From:
  • To: chef < >
  • Subject: [chef] knife node show json format squished
  • Date: Thu, 13 Jun 2013 01:35:41 +0000


Recently the node output I see went from a nice "fully-expanded" view of the
json to the json being not expanded, being "squished"... for lack of better
phrasing.

Does anyone happen to know what happened, or how to get the output back to
fully-expanded?


$ knife node show db01.stg.cherryporkleftovers.com -Fj -l
{
  "name": "db01.stg.cherryporkleftovers.com",
  "chef_environment": "staging1",
  "run_list": ["role[base]","role[database]"],
  "normal": 
{"repo":{"epel":{"key":"RPM-GPG-KEY-EPEL-6"},"percona":{"key":"RPM-GPG-KEY-percona"},"centos":{"key":"RPM-GPG-KEY-CentOS-5",..snip-the-squish
  "default": 
{"s3cmd":{"users":["root"],"userlist":["foo","baz"]},"boundary":{"bprobe":..snip-the-squish
snip


I'm not exactly sure what changed in my dev environment, and when it did.
FWIW I did try downgrading my chef 10.26.0 to 10.24.0 within my rvm, but that
changed nothing.


06/12 17:34[zahadum chefdev]$ which ruby
/home/kallen/.rvm/rubies/ruby-1.9.3-p429/bin/ruby
06/12 18:33[zahadum chefdev]$ gem list chef

*** LOCAL GEMS ***

chef (10.26.0, 10.24.0)






Archive powered by MHonArc 2.6.16.

§