Skip to content

Instantly share code, notes, and snippets.

@arnobroekhof
Created March 2, 2016 15:14
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 arnobroekhof/ddbdd29a21465054079f to your computer and use it in GitHub Desktop.
Save arnobroekhof/ddbdd29a21465054079f to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
PUPPET_DIR="my-puppet-dir"
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.network "forwarded_port", guest: 80, host: 8080
# config.vm.network "private_network", ip: "192.168.33.10"
# config.vm.network "public_network"
config.vm.synced_folder PUPPET_DIR, "/puppet"
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
config.vm.provision "puppet" do |puppet|
puppet.manifest_file = "manifests.pp"
puppet.module_path = PUPPET_DIR + "/modules"
puppet.hiera_config_path = "hiera.yaml"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment