Cleanup generated Vagrantfile
This commit is contained in:
parent
68d82349dd
commit
6cae92a200
|
@ -8,9 +8,10 @@
|
|||
Vagrant.configure(2) do |config|
|
||||
# The most common configuration options are documented and commented below.
|
||||
# For a complete reference, please see the online documentation at
|
||||
# vagrantup.com
|
||||
# https://docs.vagrantup.com.
|
||||
|
||||
# Every Vagrant virtual environment requires a box to build off of.
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://atlas.hashicorp.com/search.
|
||||
config.vm.box = "<%= box_name %>"
|
||||
|
||||
<% if box_url -%>
|
||||
|
@ -38,10 +39,6 @@ Vagrant.configure(2) do |config|
|
|||
# your network.
|
||||
# config.vm.network "public_network"
|
||||
|
||||
# If true, then any SSH connections made will enable agent forwarding.
|
||||
# Default value: false
|
||||
# config.ssh.forward_agent = true
|
||||
|
||||
# Share an additional folder to the guest VM. The first argument is
|
||||
# the path on the host to the actual folder. The second argument is
|
||||
# the path on the guest to mount the folder. And the optional third
|
||||
|
@ -53,134 +50,20 @@ Vagrant.configure(2) do |config|
|
|||
# Example for VirtualBox:
|
||||
#
|
||||
# config.vm.provider "virtualbox" do |vb|
|
||||
# # Don't boot with headless mode
|
||||
# # Display the VirtualBox GUI when booting the machine
|
||||
# vb.gui = true
|
||||
#
|
||||
# # Use VBoxManage to customize the VM. For example to change memory:
|
||||
# vb.customize ["modifyvm", :id, "--memory", "1024"]
|
||||
# # Customize the amount of memory on the VM:
|
||||
# vb.memory = "1024"
|
||||
# end
|
||||
#
|
||||
# View the documentation for the provider you're using for more
|
||||
# View the documentation for the provider you are using for more
|
||||
# information on available options.
|
||||
|
||||
# Enable provisioning with CFEngine. CFEngine Community packages are
|
||||
# automatically installed. For example, configure the host as a
|
||||
# policy server and optionally a policy file to run:
|
||||
#
|
||||
# config.vm.provision "cfengine" do |cf|
|
||||
# cf.am_policy_hub = true
|
||||
# # cf.run_file = "motd.cf"
|
||||
# end
|
||||
#
|
||||
# You can also configure and bootstrap a client to an existing
|
||||
# policy server:
|
||||
#
|
||||
# config.vm.provision "cfengine" do |cf|
|
||||
# cf.policy_server_address = "10.0.2.15"
|
||||
# end
|
||||
|
||||
# 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 default.pp in the manifests_path directory.
|
||||
#
|
||||
# config.vm.provision "puppet" do |puppet|
|
||||
# puppet.manifests_path = "manifests"
|
||||
# puppet.manifest_file = "default.pp"
|
||||
# end
|
||||
|
||||
# Enable provisioning with Chef Solo, specifying a cookbooks path, roles
|
||||
# path, and data_bags path (all relative to this Vagrantfile), and adding
|
||||
# some recipes and/or roles.
|
||||
#
|
||||
# config.vm.provision "chef_solo" do |chef|
|
||||
# chef.cookbooks_path = "~/chef/cookbooks"
|
||||
# chef.roles_path = "~/chef/roles"
|
||||
# chef.data_bags_path = "~/chef/data_bags"
|
||||
#
|
||||
# chef.add_recipe "mysql"
|
||||
# chef.add_role "web"
|
||||
#
|
||||
# chef.json = { mysql_password: "foo" }
|
||||
# end
|
||||
#
|
||||
# Chef Solo will automatically install the latest version of Chef for you.
|
||||
# This can be configured in the provisioner block:
|
||||
#
|
||||
# config.vm.provision "chef_solo" do |chef|
|
||||
# chef.version = "11.16.4"
|
||||
# end
|
||||
#
|
||||
# Alternative you can disable the installation of Chef entirely:
|
||||
#
|
||||
# config.vm.provision "chef_solo" do |chef|
|
||||
# chef.install = false
|
||||
# end
|
||||
|
||||
# Enable provisioning with Chef Zero. The Chef Zero provisioner accepts the
|
||||
# exact same parameter as the Chef Solo provisioner:
|
||||
#
|
||||
# config.vm.provision "chef_zero" do |chef|
|
||||
# chef.cookbooks_path = "~/chef/cookbooks"
|
||||
# chef.roles_path = "~/chef/roles"
|
||||
# chef.data_bags_path = "~/chef/data_bags"
|
||||
#
|
||||
# chef.add_recipe "mysql"
|
||||
# chef.add_role "web"
|
||||
#
|
||||
# # You may also specify custom JSON attributes:
|
||||
# chef.json = { mysql_password: "foo" }
|
||||
# end
|
||||
|
||||
# Enable provisioning with Chef Server, specifying the chef server URL,
|
||||
# and the path to the validation key (relative to this Vagrantfile).
|
||||
#
|
||||
# The Hosted Chef platform uses HTTPS. Substitute your organization for
|
||||
# ORGNAME in the URL and validation key.
|
||||
#
|
||||
# If you have your own Chef Server, use the appropriate URL, which may be
|
||||
# HTTP instead of HTTPS depending on your configuration. Also change the
|
||||
# validation key to validation.pem.
|
||||
#
|
||||
# config.vm.provision "chef_client" do |chef|
|
||||
# chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
|
||||
# chef.validation_key_path = "ORGNAME-validator.pem"
|
||||
# end
|
||||
#
|
||||
# If you're using the Hosted Chef platform, your validator client is
|
||||
# ORGNAME-validator, replacing ORGNAME with your organization name.
|
||||
#
|
||||
# If you have your own Chef Server, the default validation client name is
|
||||
# chef-validator, unless you changed the configuration.
|
||||
#
|
||||
# chef.validation_client_name = "ORGNAME-validator"
|
||||
#
|
||||
# Chef Client will automatically install the latest version of Chef for you.
|
||||
# This can be configured in the provisioner block:
|
||||
#
|
||||
# config.vm.provision "chef_client" do |chef|
|
||||
# chef.version = "11.16.4"
|
||||
# end
|
||||
#
|
||||
# Alternative you can disable the installation of Chef entirely:
|
||||
#
|
||||
# config.vm.provision "chef_client" do |chef|
|
||||
# chef.install = false
|
||||
# end
|
||||
|
||||
# Enable provisioning with Chef Apply, specifying an inline recipe to execute
|
||||
# on the target system.
|
||||
#
|
||||
# config.vm.provision "chef_apply" do |chef|
|
||||
# chef.recipe = <<-RECIPE
|
||||
# package "curl"
|
||||
# RECIPE
|
||||
# end
|
||||
#
|
||||
# Chef Apply will automatically install the latest version of Chef for you.
|
||||
# This can be configured in the provisioner block:
|
||||
#
|
||||
# config.vm.provision "chef_apply" do |chef|
|
||||
# chef.version = "11.16.4"
|
||||
# end
|
||||
# Enable provisioning with a shell script. Additional provisioners such as
|
||||
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
|
||||
# documentation for more information about their specific syntax and use.
|
||||
# config.vm.provision "shell", inline <<-SHELL
|
||||
# sudo apt-get install apache2
|
||||
# SHELL
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue