Skip to content

Instantly share code, notes, and snippets.

@hlindberg
Last active May 20, 2016 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlindberg/6d956df8ab2e08f24b07d94c0b337a3a to your computer and use it in GitHub Desktop.
Save hlindberg/6d956df8ab2e08f24b07d94c0b337a3a to your computer and use it in GitHub Desktop.
How to run puppet agent-t and master from source on same machine for tracing/debugging

Run Agent and Master from source on same machine

bundle exec puppet master --no-daemonize --certname localhost --dns_alt_names localhost --verbose
bundle exec puppet agent -t --certname localhost --server localhost

To re-set the CSR process for an agent:

on the master: puppet cert clean <agent fqdn>
on the agent: remove the ssldir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment