Jira (FACT-2966) Facter 4 outputs some uptime facts differently on Windows

13 views
Skip to first unread message

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 9:36:02 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes created an issue
 
Facter / Bug FACT-2966
Facter 4 outputs some uptime facts differently on Windows
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/03/12 6:35 AM
Priority: Normal Normal
Reporter: Luchian Nemes

While running puppet facts diff on Windows 10 Enterprise 32bit, Windows 2019 64 bit in Japanese and Windows 2012r2 FIPS 64 bit, I got the following output:

{
{
  "system_uptime.uptime": {
    "new_value": "1:3 hours",
    "old_value": "1:02 hours"
  },
  "uptime": {
    "new_value": "1:3 hours",
    "old_value": "1:02 hours"
  }
}
}

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:37:02 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
While running *puppet facts diff* on Windows 10 Enterprise 32bit, Windows 2019 64 bit in Japanese and Windows 2012r2 FIPS 64 bit, I got the following output:
{code:json}
{
{
  "system_uptime.uptime": {
    "new_value": "1:3 hours",
    "old_value": "1:02 hours"
  },
  "uptime": {
    "new_value": "1:3 hours",
    "old_value": "1:02 hours"
  }
}
}

Luchian Nemes (Jira)

unread,
Mar 12, 2021, 9:37:03 AM3/12/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Acceptance Criteria: *Minutes should always be two digits. Would be best to check minutes padding for other time based facts also too .*

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 6:36:03 AM3/17/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 6:41:03 AM3/17/21
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 17, 2021, 6:42:03 AM3/17/21
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Mar 23, 2021, 7:49:04 AM3/23/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 30, 2021, 11:46:02 AM3/30/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: FACT 4.0.53

Claire Cadman (Jira)

unread,
Apr 13, 2021, 9:30:01 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