I'm seeing the following errors pop up:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: The value 'certdir' cannot be converted to Numeric. on node agent1.puppetlabs.vm
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
This results from the following code: