Commit Graph

45 Commits

Author SHA1 Message Date
Seth Vargo 9ca4a8d800
Remove sudo from generated Vagrantfile
This is unneeded because, by default, provisioners run as a privileged
user.

Fixes GH-7295
2016-05-30 20:47:13 -04:00
Seth Vargo bba1cbc72f
Add --box-version to `vagrant init`
This also adds a test suite for that particular command, updates the
documentation, and adds some examples.

Fixes GH-5004
2016-05-30 15:33:58 -04:00
Seth Vargo b24e69eb60 Always use a string for Vagrantfile version 2016-02-02 09:43:28 -05:00
Seth Vargo 9c55180f6d Update the apt cache 2014-12-12 10:44:10 -08:00
Seth Vargo 5dfe323a2e Fix a missing colon in new Vagrantfile 2014-12-12 10:42:00 -08:00
Seth Vargo b590ee2b3a Add push example 2014-12-11 16:50:56 -08:00
Seth Vargo 0dcdc2312b Remove editor comments from min Vagrantfile 2014-12-11 16:48:20 -08:00
Seth Vargo 6cae92a200 Cleanup generated Vagrantfile 2014-12-11 16:47:50 -08:00
Seth Vargo 30dbedeea4 Update Vagrantfile to include Chef Apply and options for Chef install 2014-11-07 15:56:22 -05:00
Mitchell Hashimoto 88754d2904 document the version 2014-10-23 09:25:54 -07:00
Christian Berendt e9a28b02a5 Remove Vagrant constants 2014-10-20 17:59:47 +02:00
Dennis Hoppe 9fc64aa025 Fix value for manifest_file
This value should match the default, mentioned at the Vagrant Documentation. Otherwise, new users could be confused.
2014-06-27 11:22:38 +02:00
Kalman Hazins bb052366f7 Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
Mitchell Hashimoto e3ec1027f1 commands/init: minimal flag [GH-3611] 2014-05-04 17:36:51 -07:00
Mitchell Hashimoto 7ade8f8ad4 Clean up the Vagrantfile template 2014-04-09 08:49:25 -07:00
Diego Zamboni 2e4bc44644 CFEngine example block in Vagrantfile template
Added an example block for the CFEngine provisioner to the Vagrantfile
template.
2014-04-07 18:39:50 -05:00
Mitchell Hashimoto 0f9ec27018 commands/init: update template to use strings, not symbols 2014-01-16 09:46:41 -08:00
Michael Kühn 90a4681292 changed Vagrantfile template to use "site.pp" for puppet instead of "init.pp". 2013-09-06 10:24:27 +02:00
Mitchell Hashimoto fb14a33bc1 Simplify understanding of magic "2" in Vagrantfile [GH-1835] 2013-07-20 01:06:02 -04:00
Elan Ruusamäe dab0faf6b5 add ssh agent sample to Vagrantfile 2013-06-07 19:02:49 +03:00
Mitchell Hashimoto 47dfd81fd1 Change default puppet manifest to be init.pp in template 2013-04-07 15:07:50 -07:00
Mitchell Hashimoto 0bb57fbe86 Update the vagrant init Vagrantfile to have new network syntax 2013-03-01 17:36:46 -08:00
Mitchell Hashimoto 3304a7701c Update the Vagrantfile template 2013-02-04 11:56:06 -08:00
Mitchell Hashimoto 3e6fe7406b Update the Vagrantfile template to use V2 by default. 2012-11-06 21:34:22 -08:00
Alvaro Videla a46640c720 Fixes minor typo 2012-06-20 11:16:29 +03:00
Mitchell Hashimoto 3204b3a580 Vagrant.configure and versioned configuration
Vagrant.configure is now how configuration is done in Vagrantfiles
(previously it was Vagrant::Config.run). This function takes a single
argument which is the version of configuration to use.

Various internals were updated for this new versioned configuration.

Note that multiple versions of configuration aren't yet used so aren't
fully supported by Vagrant, but the foundation is being set here.
2012-05-21 21:47:01 -07:00
Lorin Hochstein ab926ed5f4 Adds chef.roles_path and chef.data_bags_path to template 2012-03-21 10:44:41 -04:00
Bob Van Zant ae62c9bd68 Convert example host only IPs to RFC1918 2012-02-08 14:50:33 -08:00
Richard Millan ec9a6182a8 Update to Vagrantfile template. A name is not required for the forwarding port. 2012-01-08 20:10:37 -08:00
Mitchell Hashimoto ad6974d3da Fix typo in Vagrantfile 2012-01-03 09:35:14 -08:00
Mike Fiedler ccd688593f adding note to Vagrantfile template aobut bridged networking 2012-01-03 07:52:29 -08:00
Mitchell Hashimoto b133b0a357 Update CHANGELOG 2011-11-27 11:11:50 -07:00
William Roe 8c3af5cade Add file-local emacs and vi filetype settings for Vagrantfile 2011-11-27 11:11:04 -07:00
Joseph Anthony Pasquale Holsten a42ab2ce20 init command should mention :chef_client provisioner instead of :chef_server [closes GH-464] 2011-08-10 22:45:30 -07:00
Mitchell Hashimoto 070f20dad7 Get rid of chef json "merge" in default Vagrantfile 2011-07-30 10:28:38 -07:00
Richard Bronosky bf78903185 Puppet requires a puppet group 2011-07-16 00:18:46 -04:00
Mitchell Hashimoto 7deeac42dc Woops, Vagrantfile.erb template 2011-07-09 16:22:19 -07:00
Mitchell Hashimoto 24337b0ca4 vagrantfile now is lowercase. backwards compatible, though. [closes GH-399] 2011-07-09 15:18:52 -07:00
Jeff McCune 33f5e2ed82 (#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.
2011-03-09 13:23:32 -08:00
Mitchell Hashimoto 88abc5f9b0 Fix misleading comments in Vagrantfile 2011-03-01 13:06:35 -08:00
Mitchell Hashimoto 41d2a78cdb Update init Vagrantfile examples with new provisioner syntax 2011-01-14 10:35:51 -08:00
Ben Morris 7df8ab281a Fixed a syntax error in the autogenerated Vagrantfile 2010-11-17 08:35:54 -08:00
jtimberman cdd1be4be5 fix opscode platform uri and clarify settings 2010-11-14 19:37:53 -08:00
Mitchell Hashimoto a17e05475d Init Vagrantfile is now heavily commented with various available options. [closes GH-171] 2010-10-01 09:46:37 -07:00
Mitchell Hashimoto 48b7596357 Init command. Tests for the base command. 2010-08-24 10:27:36 -07:00