Jira (FACT-2967) Facter 4 outputs several facts with different precision than Facter 3

11 views
Skip to first unread message

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 9:48:02 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes created an issue
 
Facter / Bug FACT-2967
Facter 4 outputs several facts with different precision than Facter 3
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/03/12 6:47 AM
Priority: Normal Normal
Reporter: Luchian Nemes

While running puppet facts diff on several operating systems (see in document below os for each fact), I got the following output:

{
  "memory.swap.capacity": {
    "new_value": "0.00%",
    "old_value": "0%"
  },
  "swapsize_mb": {
    "new_value": 980.0,
    "old_value": 979.99609375
  },
  "memorysize_mb": {
    "new_value": 7953.32,
    "old_value": 7953.3203125
  },
  "swapfree_mb": {
    "new_value": 501.29,
    "old_value": 501.28515625
  },
  "load_averages.1m": {
    "new_value": 1.21214,
    "old_value": 1.1436767578125
  },
  "load_averages.5m": {
    "new_value": 1.37865,
    "old_value": 1.3682098388671875
  },
  "load_averages.15m": {
    "new_value": 1.34709,
    "old_value": 1.3434600830078125
  },
  "memoryfree_mb": {
    "new_value": 4021.88,
    "old_value": 4023.265625
  }
}

Note: EXCLUDE_LIST from https://github.com/puppetlabs/puppet/blob/6.x/lib/puppet/face/facts.rb#L5 needs to be manually emptied to see above results.
More info: https://docs.google.com/document/d/1QlX_mv17fZ4eVZa9zHxvTRVJ5sq88aj3GjUC6lVFiz0/edit#heading=h.gnnvlmulav1v

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 9:49:03 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
While running *puppet facts diff* on several operating systems (see in document below the os for each fact), I got the following output:
{code:json}

Mihai Buzgau (Jira)

unread,
Mar 24, 2021, 3:33:03 AM3/24/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 24, 2021, 3:33:03 AM3/24/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 24, 2021, 3:33:04 AM3/24/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 30, 2021, 11:46:03 AM3/30/21
to puppe...@googlegroups.com

Claire Cadman (Jira)

unread,
Apr 13, 2021, 9:29:02 AM4/13/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages