Puppet - install module dependencies for modules without spoofing

I have a puppet module that is not in the forge and I am not interested in placing it. The module has all the dependencies written in metadata.json

, and for installation I usually just clone the module from my git repository directly to /etc/puppet/modules/

.

When I now call puppet module list

the missing modules are listed, for example:

Warning: Missing dependency 'puppetlabs-apt':
  '<name>' (v0.0.0) requires 'puppetlabs-apt' (>= 0.0.0)
Warning: Missing dependency 'puppetlabs-stdlib':
  '<name>' (v0.0.0) requires 'puppetlabs-stdlib' (>= 0.0.0)
Warning: Missing dependency 'puppetlabs-vcsrepo':

      

Is there anyway for the puppet to install the dependencies for the modules without tampering with manual installation by installing it with puppet module install ...

?

+3


source to share


1 answer


You need librarian-puppet

. With its help you can easily manage modules and its dependencies.

Introduction

The Puppet Librarian is a set for your puppet infrastructure. You can use the puppet librarian to manage the puppet modules your infrastructure depends on, whether the modules originate from the puppet forge, Git repos, or just the path.



You can download it here librarian-puppet

+4


source







All Articles