puppetlabs/puppet — pull request #2913 by highb (2014-07-25 18:26:36+00:00)
Title: (PUP-2882) Verify available versions

Prior to this commit we didn't check up front to make sure there is a version
matching what is requested by the --version flag. This changed the error given,
which made acceptance tests fail.

This commit adds a check before even attempting to build a graph to ensure that
there is a compatible version.