puppetlabs/puppetdb — pull request #253 by cprice-puppet (2012-08-10 19:00:18+00:00)
Title: Fix --debug flag and add HeapDump JVM option

This commit does the following:

* Change the services/parse-config function back to accepting an optional
map of initial config values. Because this function does lots of
side-effect things, including initializing the logging, it needs
access to some of the command-line options such as --debug in order
to work properly.
* Change the name of services/parse-config to include an exclamation point,
because it has lots of side effects.
* Add a couple of JVM args to our default jvm args; specifically,
HeapDumpOnOutOfMemoryError and HeapDumpPath, so that we will have
the opportunity to collect heap dump files from users if they
encounter OOM errors.