Debugging Elusive Puppet Errors

On working on some puppet manifests I hit this error message: $ sudo puppetd -t err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Certainly not the most enlightening error message.…

Python: Debugging with PDB

Debugging anything can be a real pain in the backside. However with the right tools (think firebug) it actually can become enjoyable. The other day Rob, showed me the pdb module and after using it for two secs I was loving it. Pdb is the python debugger. It's great because…