puppetlabs/puppet — pull request #710 by cprice-puppet (2012-04-25 03:41:08+00:00)
Title: Bug/master/13429 faces as libraries

This pull request is based off of Jeff's previous one, because there were going to be some merge conflicts later otherwise. There is really only one commit here:

https://github.com/cprice-puppet/puppet/commit/27abe6a84b4519cfa16f5689dda7878820e77fe5

And basically all it does is move some logic for initializing puppet's global settings out of CommandLine and into Settings, so that the methods can be accessed from other places outside of the CommandLine class. This allows external tools to call Puppet.initialize_settings to get into a state where they can use Faces (and some other classes) as library code without getting errors about settings initialization. It addresses #13429, along with a pull request that I'm about to submit to the mcollective-plugins project.