rnelson0 / puppet-generate-puppetfile

Generate or update a Puppetfile for use with r10k or librarian-puppet. Optionally, create a fixtures file for rspec-puppet.
92 stars 22 forks source link

Is this a recursive lookup? #18

Closed jhg03a closed 8 years ago

jhg03a commented 8 years ago

Are the package dependency lookups recursive? For example in the event that module A requires modules 1,2,3 and module 2 requires module B, does the requirement for module B in the output roll up to the final output?

rnelson0 commented 8 years ago

Yes, each package is checked out via puppet module tool, which resolves dependencies recursively and uses existing versions if present (for modules after the first). This is done at the time you run generate-puppetfile so should be the most recent version allowed per the dependency statement.

jhg03a commented 8 years ago

Excellent!