puppetlabs/puppetdb — pull request #170 by grimradical (2012-05-31 17:51:12+00:00)
Title: Allow introspection of version number

This patchset stores the auto-computed version number for PuppetDB:

* on-disk, inside of a generated JAR file
* in-memory, in `com.puppetlabs.puppetdb.cli.services/version`

This is done by modifying our build file slightly to add a custom metadata
field to build outputs, and adding a func that can parse that field back into
memory.

Signed-off-by: Deepak Giridharagopal