HomePhorge

(#12349) Add module dependency errors to module list output
a6c196f63be9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#12349) Add module dependency errors to module list output

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.

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5050b71ece12: Merge pull request #432 from jeffmccune/ticket/2.7.
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPUa6c196f63be9: (#12349) Add module dependency errors to module list output (authored by Matt Robinson <matt@puppetlabs.com>).Feb 1 2012, 6:33 AM