How can we purge the facts about a host from Foreman?
The problem we were having is we have bunch of tap interfaces which were
uploaded as facts from a puppet managed host to foreman
We fixed the issue to remove all the tap interfaces
facter on the host now does not contain any tap interfaces
but when I issue
/etc/puppet/node.rb <hostname> on a puppetmaster with foreman as ENC, the
output still returns the tap interfaces
Is there any way to purge historical facts about a host from foreman?
-Phani
···
--
http://www.hypori.com/single-post/2016/08/25/Mobilizing-Your-Contract-Workforce
The easiest way, if the host was provisioned from Foreman, is to put it
into build mode and back. That will clear the reports and facts.
I did build and cancel build from the foreman console
puppet node find hostname & ruby /etc/puppet//node.rb [hostname] still show
facts about the host
Did I do this right?
I am using Foreman 1.8.4
Thanks
Phani
···
On Friday, September 2, 2016 at 7:04:53 AM UTC-5, Greg Sutcliffe wrote:
>
> The easiest way, if the host was provisioned from Foreman, is to put it
> into build mode and back. That will clear the reports and facts.
>