The following are assorted methods to debug and troubleshoot Puppet when thing don’t quite work the way they should.
Note: All the following methods were tested only on CentOS 5.0 and my not work on other operating systems.
- Debugging the client:
/etc/init.d/puppet once -v -d
- Running the server in debug mode
- Checking manifest file syntax
puppetmasterd --manifest=site.pp --parseonly --verbose