User:Bear:DebuggingPuppet: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (Created page with '==== Puppet Debugging ==== The first place to look/read: ReleaseEngineering:Puppet:Usage ===== Puppet (client side) ===== Forcing the client puppetd to run (in test mode)…')
 
Line 9: Line 9:
  puppetd --test --server staging-puppet.build.mozilla.org
  puppetd --test --server staging-puppet.build.mozilla.org


* Logs /var/puppet/logs/puppet.out
Other debugging items:
* --debug
* --evaltrace


Logs
/var/puppet/logs/puppet.out


===== Puppet (server side) =====
===== Puppet (server side) =====

Revision as of 15:05, 25 May 2010

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

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