All Projects → voxpupuli → Vagrant Librarian Puppet

voxpupuli / Vagrant Librarian Puppet

Licence: mit
A Vagrant plugin to install Puppet modules using Librarian-Puppet.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Vagrant Librarian Puppet

Boots
The DHCP and iPXE server for Tinkerbell.
Stars: ✭ 101 (-2.88%)
Mutual labels:  hacktoberfest
Wingpanel
Stylish top panel that holds indicators and spawns an application launcher
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Rakudo
🦋 Rakudo – Raku on MoarVM, JVM, and JS
Stars: ✭ 1,471 (+1314.42%)
Mutual labels:  hacktoberfest
Snek
PowerShell wrapper around Python for .NET to invoke Python from PowerShell
Stars: ✭ 103 (-0.96%)
Mutual labels:  hacktoberfest
Request.js
Send parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Filosofunk
Lindas frases para aquecer o seu coração
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
S4
Simple Shamir's Secret Sharing (s4) - A go package giving a easy to use interface for the shamir's secret sharing algorithm
Stars: ✭ 103 (-0.96%)
Mutual labels:  hacktoberfest
Larasupport
📦 Adds Laravel Packages Support to Lumen and Vendor Publish Artisan Command.
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Hacktoberfest Census
A census of those participating in Hacktoberfest (and an easy PR!)
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Markor
Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
Stars: ✭ 1,394 (+1240.38%)
Mutual labels:  hacktoberfest
Pvr.hts
Kodi's Tvheadend HTSP client addon
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
React Native Draftjs
A full fledged React Native Rich Text editor based on draft.js
Stars: ✭ 103 (-0.96%)
Mutual labels:  hacktoberfest
Serenity
A Rust library for the Discord API.
Stars: ✭ 1,387 (+1233.65%)
Mutual labels:  hacktoberfest
Cuban Opensource
Awesome list of Cuban opensource projects. Just to know what is being openly developed in Cuba.
Stars: ✭ 103 (-0.96%)
Mutual labels:  hacktoberfest
Paraunit
Run PHPUnit tests in parallel
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Covid19 Review
A collaborative review of the emerging COVID-19 literature. Join the chat here:
Stars: ✭ 102 (-1.92%)
Mutual labels:  hacktoberfest
Ts React Boilerplate
Universal React App with Redux 4, Typescript 3, and Webpack 4
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Libmtev
Mount Everest Application Framework
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Bonjourbrowser
Service Browser is a utility that discovers all services registered in a network
Stars: ✭ 104 (+0%)
Mutual labels:  hacktoberfest
Operating System
🔰 Home Assistant Operating System
Stars: ✭ 1,920 (+1746.15%)
Mutual labels:  hacktoberfest

vagrant-librarian-puppet

A Vagrant plugin to install Puppet modules using Librarian-Puppet.

Requirements

  • Vagrant version 1.2.0 or greater.

Installation

vagrant plugin install vagrant-librarian-puppet

Usage

Vagrant will automatically run Librarian-Puppet before any provisioning step, so simply set up your Puppetfile as you normally would.

You may specify the subdirectory within which to run librarian-puppet using the librarian_puppet.puppetfile_dir config key. Please keep in mind that you will need to explicitly set the modules path in the :puppet provisioner and this path must exist before running vagrant commands.

Like the puppet.module_path, librarian_puppet.puppetfile_dir supports both, a simple String or an Array of Strings. Librarian Puppet will look for Puppetfiles in each Directory and manage each modules directory.

NOTE: Since the puppet provisioner will fail if the path provided to "puppet.modules" doesn't exist and librarian-puppet will destroy and recreate the modules directory on each run, this plugin supports a placeholder file within the modules directory that can be checked into version control and will persist between provisions.

Vagrant.configure("2") do |config|

  config.librarian_puppet.puppetfile_dir = "puppet"
  # placeholder_filename defaults to .PLACEHOLDER
  config.librarian_puppet.placeholder_filename = ".MYPLACEHOLDER"
  config.librarian_puppet.use_v1_api  = '1' # Check https://github.com/voxpupuli/librarian-puppet#how-to-use
  config.librarian_puppet.destructive = false # Check https://github.com/voxpupuli/librarian-puppet#how-to-use

  config.vm.provision :puppet do |puppet|
    puppet.module_path = "puppet/modules"

    ...

  end
end

Development

bundle
bundle exec vagrant up

Acknowledgements

Thanks to @jimmycuadra and other contributors for their work on vagrant-librarian-chef. This plugin made some slight changes to work with puppet, but largely just used their code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].