It seems you’re not the only one fighting this Foreman no longer shows Puppet Facts for new agents
Check your /etc/puppetlabs/puppet/foreman.yaml and see what your fact_extension line says. Perhaps it would help to change it from yaml to json. Foreman is looking at the facts dir and searches for the files with a given extension. Let us know if it helps.