From 0f9ec27018541f30370238a18bac7762b67b0e29 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 16 Jan 2014 09:46:41 -0800 Subject: [PATCH] commands/init: update template to use strings, not symbols --- templates/commands/init/Vagrantfile.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/commands/init/Vagrantfile.erb b/templates/commands/init/Vagrantfile.erb index 84dbed244..03633b3b2 100644 --- a/templates/commands/init/Vagrantfile.erb +++ b/templates/commands/init/Vagrantfile.erb @@ -19,16 +19,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Create a forwarded port mapping which allows access to a specific port # within the machine from a port on the host machine. In the example below, # accessing "localhost:8080" will access port 80 on the guest machine. - # config.vm.network :forwarded_port, guest: 80, host: 8080 + # config.vm.network "forwarded_port", guest: 80, host: 8080 # Create a private network, which allows host-only access to the machine # using a specific IP. - # config.vm.network :private_network, ip: "192.168.33.10" + # config.vm.network "private_network", ip: "192.168.33.10" # Create a public network, which generally matched to bridged network. # Bridged networks make the machine appear as another physical device on # your network. - # config.vm.network :public_network + # config.vm.network "public_network" # If true, then any SSH connections made will enable agent forwarding. # Default value: false @@ -44,7 +44,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # backing providers for Vagrant. These expose provider-specific options. # Example for VirtualBox: # - # config.vm.provider :virtualbox do |vb| + # config.vm.provider "virtualbox" do |vb| # # Don't boot with headless mode # vb.gui = true # @@ -73,7 +73,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # # Managed by Puppet.\n" # # } # - # config.vm.provision :puppet do |puppet| + # config.vm.provision "puppet" do |puppet| # puppet.manifests_path = "manifests" # puppet.manifest_file = "site.pp" # end @@ -82,7 +82,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # path, and data_bags path (all relative to this Vagrantfile), and adding # some recipes and/or roles. # - # config.vm.provision :chef_solo do |chef| + # config.vm.provision "chef_solo" do |chef| # chef.cookbooks_path = "../my-recipes/cookbooks" # chef.roles_path = "../my-recipes/roles" # chef.data_bags_path = "../my-recipes/data_bags" @@ -103,7 +103,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # HTTP instead of HTTPS depending on your configuration. Also change the # validation key to validation.pem. # - # config.vm.provision :chef_client do |chef| + # 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