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
host.

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.

Ohad

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

Stephen


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/aamWLndQntEJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.