Best way of safely removing invalid puppet facts from foreman

> Hi,
> After writing some bad facts, foreman now has a number of facts that are
> invalid. (For example 'macaddress___tmp1956163598')
> What is the best way of removing these facts from foreman? I could just
> use some SQL to delete the rows from fact_names, but I don't know if this
> is safe for foreman.
> The listed API doesn't seem to include a method for deleting facts either.
> Thanks for any pointers.

AFAIR, facts would be auto expired once they no longer exists on a given

in anycase, it would be save to delete the facts, as foreman should
recreate them once they are sent again.

regarding API, that's probably a good idea to add a feature request to
delete a fact.


··· On Thu, Oct 4, 2012 at 7:28 AM, Stephen Halloran wrote:


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at