Skip to content

mattiasgeniar/puppet-vagrant_helper_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Helper scripts for Puppet

This repository will hold some useful scripts that help with developing Puppet modules combined with Vagrant. All scripts are placed into /usr/bin so they can be called easily from the CLI.

This is, obviously, a work-in-progress and extra scripts will be greatly appreciated.

Contact

Use github to send pull requests or log issues.

How to use?

Include it in your manifest/modules as such:

class { 'vagrant_helper_scripts': } 

vagrant_puppet_runonce.sh

This script does the same as a 'vagrant provision ', but within Vagrant itself so you lose the overhead of Ruby/Vagrant parsing. From the Mac, it takes quite a while:

user@mac:~$ time vagrant provision 
...
45.9s total

Inside the Vagrant box it's a lot faster:

root@box:~$ time vagrant_puppet_runonce.sh
...
15.4s total

There: you just cut down your testing time by factor 3x. Results will very depending on the size of your Puppet codebase.

About

Set of helper scripts to ease development of Puppet modules/manifests with Vagrant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published