| When running facter os the output is not pretty printed.
./bin/facter os |
{"macosx"=>{"product"=>"Mac OS X", "version"=>{"full"=>"10.14.6", "major"=>"10.14", "minor"=>"6"}, "build"=>"18G87"}, "name"=>"Darwin", "hardware"=>"x86_64", "architecture"=>"x86_64", "family"=>"Darwin", "release"=>{:full=>"18.7.0", :major=>"18", :minor=>"7"}}
|
should be
{ |
architecture => "x86_64", |
family => "Darwin", |
hardware => "x86_64", |
macosx => { |
build => "18G87", |
product => "Mac OS X", |
version => { |
full => "10.14.6", |
major => "10.14", |
minor => "6" |
} |
}, |
name => "Darwin", |
release => { |
full => "18.7.0", |
major => "18", |
minor => "7" |
} |
}
|
The issue might be resolved if we pretty print the output of a single user query. |