Skip to content
Find file
f1745e0 Jul 15, 2014
@grahamgilbert @sennerholm
52 lines (42 sloc) 2.38 KB
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define :master do |master_config|
# Supports local cache, don't wast bandwitdh
# vagrant plugin install vagrant-cachier
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.auto_detect = true
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at
master_config.vm.hostname = ""
# Every Vagrant virtual environment requires a box to build off of. = "precise64"
# The url from where the '' box will be fetched if it
# doesn't already exist on the user's system.
master_config.vm.box_url = ""
# If you're using VMWare Fusion rather than Virtualbox, you'll want to use this box_url instead
# master_config.vm.box_url = ""
# Assign this VM to a host-only network IP, allowing you to access it
# via the IP. Host-only networks can talk to the host machine as well as
# any other machines on the same network, but cannot be accessed (through this
# network interface) by any external networks. :private_network, ip: ""
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
master_config.vm.provision :shell, :path => ""
master_config.vm.provision :shell, :path => ""
# Enable the Puppet provisioner
master_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "VagrantConf/manifests"
puppet.manifest_file = "default.pp"
puppet.options = "--verbose --modulepath /home/vagrant/modules"
master_config.vm.synced_folder "puppet/manifests", "/etc/puppet/manifests"
master_config.vm.synced_folder "puppet/modules", "/etc/puppet/modules"
master_config.vm.synced_folder "puppet/hieradata", "/etc/puppet/hieradata"
Something went wrong with that request. Please try again.