Created
April 16, 2013 03:21
-
-
Save johnpbloch/5393116 to your computer and use it in GitHub Desktop.
Puppet awesomesauce for Vagrant
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
[files] | |
path /tmp/vagrant-puppet/files | |
allow * |
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.vm.provision :puppet do |puppet| | |
# Add a folder in your root named .ppt | |
puppet.manifests_path = ".ppt/manifests" | |
# vagrant.pp is your main manifest and goes in .ppt/manifests | |
puppet.manifest_file = "vagrant.pp" | |
# Add puppet modules in .ppt/modules as git submodules; they will be pre-installed in Vagrant this way | |
puppet.module_path = ".ppt/modules" | |
# Config files, etc. go in .ppt/files. fileserver.conf (see below) defines the path for puppet to add | |
# when looking for files. That way, you can reference files with puppet:// protocols. Make sure you | |
# add the directory defined in fileserver.conf as a shared directory in the main Vagrantfile config | |
# block. | |
puppet.options = ["--fileserverconfig=/vagrant/.ppt/fileserver.conf", ] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yay Ruby!!