OS Fact reporting incorrectly

I have a coupld of Rocky Linux VM’s that for some reason are reporting facts back as REDHAT instead of Rocky. When I check the facts for another server that is reporting properly I get Rocky for the OS > Name Field. For the broken one it reports Redhat. Where would this Fact be stored on the system? I am trying to understand why this fact is incorrect and how I can fix it as it is causing issues elsewhere as the OS has to be updated when I make changes.

Expected outcome:
Server Facts are not Correct. I expect Rocky Linux to be displayed.

Foreman and Proxy versions:
I have a 3.2 host as well and it won’t register there as the OS doesn’t seem valid.

Foreman and Proxy plugin versions:
Puppet 6.26

Distribution and version:
Rocky Linux 8.5

Other relevant data:

Ok I figured it out. I had an older version of facter on my system and thus the incorrect OS reporting. Updating Puppet solved my issue.

For those curious facter 3.14 seem to have the bug in it. I am now running version 4.2.8

1 Like