Troubleshooting Puppet

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
    puppetmasterd --debug
  • Checking manifest file syntax
    puppetmasterd --manifest=site.pp --parseonly --verbose
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s