Skip to content

Instantly share code, notes, and snippets.

@agarstang
Last active February 23, 2016 15:54
Show Gist options
  • Save agarstang/c974ad5c06174447d5bc to your computer and use it in GitHub Desktop.
Save agarstang/c974ad5c06174447d5bc to your computer and use it in GitHub Desktop.
Puppet - helper scripts
#!/bin/bash
#List all certs that have been signed that are not myself (useful for cleanup)
ls "`puppet config print ssldir`/ca/signed" | grep -vE "`puppet config print certname`|`puppet config print certname --section master`" | sed "s/.pem//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment