Skip to content

Instantly share code, notes, and snippets.

@nnutter
Created October 17, 2014 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nnutter/6c5b71d3d0921aa7d32f to your computer and use it in GitHub Desktop.
Save nnutter/6c5b71d3d0921aa7d32f to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'genome/ubuntu-lucid-puppet'
config.vm.hostname = 'localhost'
config.librarian_puppet.puppetfile_dir = '../../'
config.vbguest.auto_update = false
# Here we pass configuration paramaters to puppet.
#config.vm.provision :shell, :inline => "echo -n 'apt-get update... ' && apt-get update -qq && echo done"
config.vm.provision :puppet, :options => ['--environment', 'vagrant'] do |puppet|
puppet.module_path = '../../modules'
puppet.manifests_path = '..'
puppet.manifest_file = 'vagrant.pp'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment