puppetlabs/puppet — pull request #435 by mmrobins (2012-02-01 16:45:14+00:00)
Title: Ticket/2.7.x/12349 module list dependencies

There was already a validate_dependencies method on the Puppet::Module
class, but it didn't do anything since it never actually read the
dependency info from the module metadata.

This commit adds a method to replace that, but it doesn't raise if
dependencies are unsatisfied. This allows us to output the dependency
problems when `puppet module list` is called.

This also adds basic acceptance tests for the list command.