how to remove certificate when ec2 instance spins down
New to Puppet, the system is working great until. Amazon AWS EC2's start reusing hostnames in our Auto Scaling group.
we are then left with old Certificates / nodes no longer comunicating with the master s show up in foreman as out of sync and the new instances cant auto sign as their certs do not match the old ones on the puppet master.
is there a way to get the Ec2 instance to deregister its certificate when its issued the spin down command?
any tips with how to do this would be great?