Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

glennsarti/puppetfile-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cb771cf · Feb 7, 2024

History

93 Commits
Jan 8, 2021
Jan 8, 2021
Feb 7, 2024
Jul 21, 2022
Jul 20, 2022
Nov 16, 2019
Mar 4, 2020
Mar 4, 2020
Nov 16, 2019
Mar 9, 2020
Feb 7, 2024
May 26, 2022
Mar 4, 2020
Feb 7, 2024
Dec 16, 2020
Jun 13, 2022
Mar 9, 2020
Dec 14, 2020
Dec 16, 2020

Repository files navigation

⚠⚠⚠ This repository is no longer being maintained ⚠⚠⚠

It's is now forked by Puppet (nee Puppetlabs), and Puppet now owns the Ruby Gem.


CI for Puppetfile Resolver Gem Version

Puppetfile Resolver

The Puppetfile is used by Puppet to manage the collection of modules used by a Puppet master. The Puppetfile is then used by tools like R10K and Code Manager to download and install the required modules.

However, the Puppetfile is designed to have explicit dependencies, that is, all modules and all of the dependencies must be specified in Puppetfile. This is very different to formats like Gemfile (Ruby) or package.json (NodeJS) where dependencies are brought in as needed.

Using explicit dependencies is great in a configuration management system like Puppet, but it puts the burden on updates onto the user.

This library includes all of the code to parse a Puppetfile and then calculate a dependency graph to try and resolve all of the module dependencies and versions. The resolver can also restrict on Puppet version, for example, only Modules which support Puppet 6.

Note This is still in active development. Git history may be re-written until an initial version is released

Documentation