Created
March 12, 2013 14:49
-
-
Save trlinkin/5143512 to your computer and use it in GitHub Desktop.
Sample :puppet_enterprise_bootstrap Vagrantfile
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
# vagrant-pe_build settings | |
config.pe_build.download_root = 'https://s3.amazonaws.com/pe-builds/released' | |
config.pe_build.version = '2.7.1' | |
config.pe_build.suffix = 'ubuntu-12.04-amd64' | |
config.pe_build.filename = 'puppet-enterprise-2.7.1-ubuntu-12.04-amd64.tar.gz' | |
config.vm.define :master do |master| | |
# Mapping Directories so it all works right | |
master.vm.share_folder 'modules', '/modules', './modules', :extra => 'fmode=644,dmode=755,fmask=022,dmask=022' | |
master.vm.share_folder 'manifests', '/manifests', './manifests', :extra => 'fmode=644,dmode=755,fmask=022,dmask=022' | |
master.vm.box = 'cloudbox_base' | |
master.vm.host_name = 'cloudbox.puppetlabs.vm' | |
master.vm.network :hostonly, "10.20.0.100" | |
master.vm.customize([ "modifyvm", :id, "--memory", "1024" ]) | |
master.vm.provision :puppet_enterprise_bootstrap do |pe| | |
# vagrant-pe_build setting | |
pe.role = :master | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment