Hi Matt,
On 09 Dec 2014, at 19:58, Matt Wise <m...@nextdoor.com> wrote:

> We boot up/shut-down 50-100 hosts a day on average... we're exploring 
> PuppetDB, but I'm concerned about the model of just 'waiting' for hosts to be 
> purged based on some checkin time. Is there any way to have our hosts send a 
> signal through the puppet-masters (or directly to puppetdb?) to purge 
> themselves when they're being terminated?

You can use the puppetdb rest api:
https://docs.puppetlabs.com/puppetdb/2.2/api/index.html

In my actual project we disable hosts via VM management system using this API.
Works like a charm.

hth,

Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7FA90017-3D48-4276-8FAB-A7D170137D42%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to