one-liner to nuke puppet certs on a puppetmaster

Penguins controlled by UnicornsI had the need to purge a bunch of certs on my puppetmaster for a given nodetype. this made it pretty easy:


for cert in `puppet cert list --all|grep CERTPATTERNTONUKE|awk '{ print $2 }'|sed -e 's/"//g'`; do puppet cert clean $cert;done