Registering host with subscription-manager prevents loading puppet facts in subequent run
When importing facts, Foreman checks the last_compile time and prevents importing facts
if that even appeared within previous minute https://github.com/theforeman/foreman/blob/1.11.3/app/models/host/base.rb#L142
This means importing the subscription-manager facts will break loading puppet facts, if done too quickly
(which is usually the case when provisioning)
#3 Updated by Ivan Necas over 4 years ago
IMO the long-term solution should be addressed in Foreman http://projects.theforeman.org/issues/15525. However, this is affecting the users today, I think we should go for a workaround and not setting the last_compile time when importing subscription-manager facts.