(#320) Add puppet provisioner config example.

This commit should provide enough example information to get started
provisioning a box using the Puppet provisioner.

The goal of this commit is to provide just enough information to quickly
get started but not so much that the configuration file is polluted or
confuses the user.
This commit is contained in:
Jeff McCune 2011-03-08 22:48:16 -08:00 committed by Mitchell Hashimoto
parent 88abc5f9b0
commit 33f5e2ed82
1 changed files with 19 additions and 0 deletions

View File

@ -26,6 +26,25 @@ Vagrant::Config.run do |config|
# folder, and the third is the path on the host to the actual folder.
# config.vm.share_folder "v-data", "/vagrant_data", "../data"
# Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile.
# You will need to create the manifests directory and a manifest in
# the file <%= box_name %>.pp in the manifests_path directory.
#
# An example Puppet manifest to provision the message of the day:
#
# # File { owner => 0, group => 0, mode => 0644 }
# #
# # file { '/etc/motd':
# # content => "Welcome to your Vagrant-built virtual machine!
# # Managed by Puppet.\n"
# # }
#
# config.vm.provision :puppet do |puppet|
# puppet.manifests_path = "manifests"
# puppet.manifest_file = "<%= box_name %>.pp"
# end
# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
#