User:Bear:DebuggingPuppet

From MozillaWiki
Jump to: navigation, search

Puppet Debugging

The first place to look/read: ReleaseEngineering:Puppet:Usage

Puppet (client side)

Forcing the client puppetd to run (in test mode):

puppetd --test --server staging-puppet.build.mozilla.org --logdest console --noop

Other debugging items:

  • --debug
  • --evaltrace

Logs

/var/puppet/logs/puppet.out
Puppet (server side)

Puppet outputs log data to /var/log/messages

Manifests are found in /etc/puppet/manifests (be wary of symlinks that may be in place for testing)

OS X

Installing an OS X .pkg from the command line:

sudo installer -pkg filename.pkg -target /

Mounting a .dmg from the command line:

hdiutil attach filename.dmg