Jira (FACT-2002) Fix display of fact value

1 view
Skip to first unread message

Bogdan Irimie (JIRA)

unread,
Aug 29, 2019, 5:31:03 AM8/29/19
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Bug FACT-2002
Fix display of fact value
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/08/29 2:30 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Bogdan Irimie (JIRA)

unread,
Sep 4, 2019, 4:57:03 AM9/4/19
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Bogdan Irimie
Change By: Bogdan Irimie
Assignee: Bogdan Irimie
Reply all
Reply to author
Forward
0 new messages