No commit activity in last 3 years
No release in over 3 years
A Vagrant plugin that installs the appropriate Puppet modules on your guest machine, via librarian-puppet.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

vagrant-puppet-modules

A Vagrant plugin to install Puppet modules on the guest machine using Librarian-Puppet.

Requirements

  • Vagrant 1.1.0 or greater
  • Any version of puppet installed on your guest machine (you can use the plugin vagrant-puppet-install)

Installation

vagrant plugin install vagrant-puppet-modules

Usage

In your Vagrantfile, add:

Vagrant.configure("2") do |config|
    # Version number of librarian-puppet that should be installed on your guest machine
    # config.puppet_modules.librarian_version = "1.2.0" # specific version of librarian-puppet
    config.puppet_modules.librarian_version = :latest
    
    # Path to the folder that contains your Puppetfile (relative to the Vagrantfile folder)
    config.puppet_modules.puppetfile_dir = "puppet"
end

This configuration will :

  • install the latest version of librarian-puppet on your guest machine
  • install the puppet modules defined in "puppet/Puppetfile" in "/etc/puppet/modules" via librarian-puppet

Feel free to learn more about Librarian-Puppet to know what to put in your Puppetfile.

Acknowledgements

A huge thanks to both vagrant-librarian-puppet and vagrant-puppet-install that inspired this plugin.