Created
March 15, 2012 15:33
-
-
Save jeroenr/2044820 to your computer and use it in GitHub Desktop.
Vagrant configuration for Puppet provisioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Config for Vagrant using Puppet provisioning. Requires 0.9.5 or higher ### | |
# Configuration | |
hostname = "elmar-test-jero" | |
puppet_manifests = "~/Projects/Puppet/manifests/" | |
puppet_modules = "~/Projects/Puppet/modules/" | |
## ================================ | |
# Don't edit below unless you know what you're doing | |
## ================================ | |
Vagrant::Config.run do |config| | |
## Provisioning | |
config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = puppet_manifests | |
puppet.module_path = puppet_modules | |
puppet.manifest_file = "site.pp" | |
end | |
## Base box | |
config.vm.box = "vagrant-box-squeeze" | |
## Hostname and VM name | |
config.vm.host_name = hostname | |
config.vm.customize ["modifyvm", :id, "--name", hostname] | |
## Networking | |
config.vm.network :bridged, { :auto_config => false, :bridge => "eth0" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment