Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.81 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.81 KB

#vagrant-puppet-template

Either Forke this repo or add it as a submodule to kickstart your own project.

git submodule add git@github.com:semanticdreamer/vagrant-puppet-template.git ./vagrant-puppet
git submodule update --init --recursive

##Requirements

##Usage

If used as a submodule named vagrant-puppet simply create your Vagrantfile by copying the Vagrantfile.submodule into your project root directory:

cp ./vagrant-puppet/Vagrantfile.submodule ./Vagrantfile

Next: provision the Vagrant environment using Puppet.

Due to the way Puppet works, we need to run vagrant provision once after vagrant up. This is, because the first time Puppet is run (on vagrant up) it installs rvm. The second time it is run, it installs any rubies and gems you have configured.

Note: Ignoring the red console messages/ warnings (i.e. stdin: is not a tty, tput: unknown terminal "unknown" and warning: class variable access from toplevel) should be ok ;-).

##Dependencies

The following projects are used as submodules:

  • puppetlabs/apt - Puppet module to help manage Apt.
  • puppetlabs/stdlib - Puppet module providing a "standard library" of resources for developing Puppet Modules.
  • puppet-rvm - Puppet module for installing and using RVM (Ruby Version Manager).