Automatically delete nodes that have been deactivated or expired for the specified amount of time

Hi,

We are using Foreman 1.8 on our AWS and I'm looking for option in Foreman
to automatically delete nodes that have been deactivated or expired for the
specified amount of time.
We need this because we launch and terminate a lot of instances each day
and all terminated instances are stuck in Foreman.
As I know there is an option in PuppetDB but we do not want to use PuppetDB
only because of this feature.

So, the question is if there is same option to automatically delete nodes
that have been deactivated or expired for the specified amount of time in
Foreman.

Thanks

Vladislav

> Hi,
>
> We are using Foreman 1.8 on our AWS and I'm looking for option in Foreman
> to automatically delete nodes that have been deactivated or expired for the
> specified amount of time.
> We need this because we launch and terminate a lot of instances each day
> and all terminated instances are stuck in Foreman.
> As I know there is an option in PuppetDB but we do not want to use
> PuppetDB only because of this feature.
>
> So, the question is if there is same option to automatically delete nodes
> that have been deactivated or expired for the specified amount of time in
> Foreman.
>
>
foreman expire plugin [1] seems to do exactly what you ask for…

Ohad

[1] https://github.com/ingenico-group/foreman_expire_hosts

··· On Fri, Aug 7, 2015 at 9:38 AM, Vladislav Timofeev wrote:

Thanks

Vladislav


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Thank you Ohad! I'll check this.

··· On Friday, August 7, 2015 at 11:54:21 PM UTC+3, ohad wrote: > > > > On Fri, Aug 7, 2015 at 9:38 AM, Vladislav Timofeev > wrote: > >> Hi, >> >> We are using Foreman 1.8 on our AWS and I'm looking for option in Foreman >> to automatically delete nodes that have been deactivated or expired for the >> specified amount of time. >> We need this because we launch and terminate a lot of instances each day >> and all terminated instances are stuck in Foreman. >> As I know there is an option in PuppetDB but we do not want to use >> PuppetDB only because of this feature. >> >> So, the question is if there is same option to automatically delete nodes >> that have been deactivated or expired for the specified amount of time in >> Foreman. >> >> > foreman expire plugin [1] seems to do exactly what you ask for.. > > Ohad > > [1] https://github.com/ingenico-group/foreman_expire_hosts > >> Thanks >> >> Vladislav >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >