puppetlabs / puppetlabs-peadm

A Puppet module defining Bolt plans used to automate Puppet Enterprise deployments
Apache License 2.0
29 stars 51 forks source link

add agent switch over plan/task [SOLARCH-542] #48

Open abuxton opened 4 years ago

abuxton commented 4 years ago

Use Case

Module focuses on clean fresh install it would be great to also provide replatform support starting with agent switch over as 80% of the time we just build new masters anyway.

Describe the Solution You Would Like

task and simple ssh script to apply to an agent that follows cert regen and repoints at new dns entry for master/ compiler LB pool. associated plan to handle signing new cert with flag to negate when autosign is in use.

Describe Alternatives You've Considered

puppet plan with apply based task

Additional Context

reidmv commented 3 years ago

Related: https://github.com/fervidus/puppet_ca_utils/blob/main/tasks/configure_agent_trust.rb