Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pass a list of FQDNs and it'll nuke PE2 and install PE3.1
for host in "$@"; do
echo "Doing $host"
ssh -tt "${host}" 'curl | bash'
ssh -tt chi-ops-provision-1 "sudo puppet node deactivate ${host}; sudo puppet cert clean ${host}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.