Commit Graph

4264 Commits

Author SHA1 Message Date
Franz Pletz 65f275a5a8 DHCP renewal on Debian/Ubuntu after setting hostname
On Debian and Ubuntu guests, when the new hostname of the guest box is
set, the DHCP client (isc-dhcp-client) won't renew its DHCP lease with
the new hostname. Executing "ifdown -a; ifup -a" to reinitialize all auto
interfaces fixes this issue.

Furthermore, as vagrant will now actually wait until a DHCP lease is
acquired, it is guaranteed that the the correct domainname is set from
DHCP before calling other provisioners like puppet, that rely on it.
This fixes puppet/facter sometimes failing to find the fqdn fact on an
LXC guest when the DHCP server is responding too slow.
2013-07-15 12:54:52 +02:00
korya a0774b5b5f Vagrant reports properly error for not found command 2013-07-15 08:52:53 +03:00
Mitchell Hashimoto 0dfc6455ae Update CHANGELOG 2013-07-13 09:22:53 +09:00
Mitchell Hashimoto bb808635f4 Merge pull request #1925 from ROBLOX/master
Allow setting IP when using DHCP private network
2013-07-12 17:22:08 -07:00
Antek Baranski 28e7ae1d05 Enable setting the IP address on DHCP based private network 2013-07-12 17:18:38 -07:00
Nick Anderson 79e5298e70 Add ability to specify custom cfengine pacakge name
This is intended to allow adding support for installing CFEngine
Enterprise.
2013-07-12 10:47:13 -05:00
Nick Anderson c4c8042c0d Merge branch 'master' of git://github.com/mitchellh/vagrant 2013-07-12 10:45:36 -05:00
Mitchell Hashimoto 6d26c86c4c Properly detect missing VirtualBox [GH-1918] 2013-07-12 17:13:10 +09:00
Mitchell Hashimoto 5f5203559f style nitpick 2013-07-12 16:05:56 +09:00
Mitchell Hashimoto 81550392b0 Close SSH channel after exit status received [GH-603] 2013-07-12 06:40:27 +09:00
Mitchell Hashimoto 71ec8cf9bf Merge pull request #1916 from saturnflyer/master
Add helpful info about which command to run when another command fails.
2013-07-11 13:17:37 -07:00
Jim Gay 3d63fa94a5 set error to specify which command to use to bring vagrant up
This provides the suggested command to run in order to proceed with a failed command.
2013-07-11 10:41:14 -04:00
Marc Paradise 081aa12873 support for chef solo environments, upcoming in chef 11.6 2013-07-11 03:00:07 -04:00
Mitchell Hashimoto fd644c5105 Forward ports can specify host/guest IP to bind to [GH-1121] 2013-07-10 20:30:15 -07:00
Mitchell Hashimoto dd6dd4929e Remove dna and data bag secret prior to upload in Chef [GH-1111] 2013-07-10 20:26:53 -07:00
Mitchell Hashimoto 78ef3ded2b Expand symlinks for NFS host path [GH-1101] 2013-07-10 20:21:13 -07:00
Mitchell Hashimoto e941c549f2 box_url downloading happens before config validation [GH-1061] 2013-07-10 20:10:33 -07:00
Mitchell Hashimoto 3840e07adb vagrant box remove doesn't need provider if box only has one [GH-1032] 2013-07-10 19:57:53 -07:00
Mitchell Hashimoto f38b6801f9 vagrant destroy exits with 1 if any confirmation are declined [GH-923] 2013-07-10 19:39:20 -07:00
Mitchell Hashimoto 56adfec96e Chef can have a custom configuration file set. [GH-876] 2013-07-10 19:31:52 -07:00
Brian Johnson 2b7aca1d83 Highly limited osx (darwin) guest plugin.
- Tested on mountainlion/virtualbox
- virtualbox shared folders will not work (no vboxvsf support)
- Must use at least 2GB of RAM or the os will refuse to boot(mountainlion requirement)

To begin, create a mountainlion vm in virtualbox. You will need to install from scratch most likely, and assign at least 2GB of ram for it to install.

Create 2 network interfaces, the first one a NAT interface, second a hostonly interface.

'vagrant package' the VM.

In your vagrant file, be sure that the synced folder is disabled:
config.vm.synced_folder "vagrant", "/vagrant", disabled: true
2013-07-10 18:21:06 -07:00
Mitchell Hashimoto 2657364921 Exported sub-directories of exported NFS dirs works on BSD [GH-785] 2013-07-10 14:19:57 -07:00
Mitchell Hashimoto abd22dfe72 Up version for development 2013-07-09 19:10:56 -07:00
Mitchell Hashimoto 95d308caae v1.2.3 2013-07-09 17:01:01 -07:00
Mitchell Hashimoto 5cbfbdf2d2 Update CHANGELOG 2013-07-09 16:46:06 -07:00
Mitchell Hashimoto 2e969065b7 Merge pull request #1911 from emyl/no_route_fix
Raise a proper SSH error on EHOSTUNREACH
2013-07-09 16:45:35 -07:00
Mitchell Hashimoto 79f42fea28 Merge pull request #1913 from mightybs/master
Stop ruby regex error on "Fedora Core" releases.
2013-07-09 16:44:06 -07:00
Brett Stauner 442300794e Support Fedora when it was "Fedora Core"
The version_number regex was causing an error because my /etc/redhat-release looks like this:

Fedora Core release 6 (Zod)

This fix allowed initialize to run just fine on my ridiculously old release.
2013-07-09 15:47:49 -05:00
Fabio Rehm b2b7643dfc Merge pull request #1720 from tawan/patch-1
Fix typo.
2013-07-09 09:19:48 -07:00
Fabio Rehm e92059e7e0 Merge pull request #1861 from trlinkin/rdoc_builder
Vagrant::Action::Builder RDoc correction
2013-07-09 09:16:39 -07:00
Fabio Rehm 110dc8aa83 Merge pull request #1912 from emyl/locales_cleanup
Remove duplicate entry in en.yml
2013-07-09 09:06:44 -07:00
emyl 6b5f386d18 Remove duplicate entry in en.yml
Key vagrant.config.vm.network_ip_required appears twice. Remove the unused entry.
2013-07-09 17:32:37 +02:00
Emiliano Ticci b0b18c64dd Raise a proper SSH error on EHOSTUNREACH 2013-07-09 14:35:07 +02:00
Brandon Liu 2041bd7c44 Correct 'exits' to 'exists' 2013-07-08 10:50:23 -07:00
Collin Allen f67938249d Generate ansible_hosts file if one is not provided 2013-07-06 23:47:37 -07:00
Simon Thulbourn ea9fde9433 Merge branch 'master' into client-certs 2013-07-02 09:29:39 +01:00
Marc Fournier 8697d36bec update CHANGELOG 2013-06-24 20:03:47 +02:00
Marc Fournier 3822d8e1be Add nfs mount option to puppet provisioner
This mimics the equivalent feature from the chef_solo provisioner, and
mounts the puppet manifests and modules with NFS. Doing so can greatly
shortens the time of a puppet run if you have many .pp files.

Enabling this is optional. Virtualbox's (or any other provider's) shared
folders method stays the default. A typical usage would look like this:

    config.vm.provision :puppet do |puppet|
        puppet.manifests_path = "puppetmaster/manifests"
        puppet.module_path = ["puppetmaster/modules"]
        puppet.manifest_file  = "site.pp"
        puppet.nfs = true
    end

This fixes #1308.
2013-06-24 19:52:33 +02:00
Thomas Linkin d95b202346 Vagrant::Action::Builder RDoc correction
The RDoc comments for `Vagrant::Action::Builder#to_app` reference an
instance of `Vagrant::Action::Environment` as the passed paramter. There
is no class `Vagrant::Action::Environment` available. The param being
passed is actually a `Hash` that represents the "action environment".

This commit corrects the RDoc lines for
`Vagrant::Action::Builder#to_app` to correctly reference the passed
`Hash`.
2013-06-24 13:10:32 -04:00
Mitchell Hashimoto e1e57024dc Merge pull request #1859 from sethvargo/remove_json
Remove JSON gem dependency since 1.9 comes standard.
2013-06-24 09:00:28 -07:00
Seth Vargo 579e591dfb Remove JSON gem dependency 2013-06-24 11:56:43 -04:00
Ray Elsleiman 7eb84322d0 Merge branch 'master' into salty-vagrant-provisioner 2013-06-20 08:54:33 +10:00
Ray Elsleiman 836eadf7b0 Updating provisioner to use latest bootstrap script 2013-06-20 08:51:44 +10:00
Nick Anderson a4597fcd9d Update bootstrap symantecs
CFEngine 3.5 bootstrap removed the policy-server option
http://cfengine.com/blog/cfengine-is-very-easy-to-install-and-now-so-is-bootstrapping
2013-06-17 09:17:11 +02:00
Fabio Rehm 4c850cedbc Update CHANGELOG 2013-06-14 00:13:44 -03:00
Fabio Rehm c38b2c053f Merge pull request #1698 from Govinda-Fichtner/gentoo_fix
fix uninitialized constant error for gentoo plugin
2013-06-13 20:13:04 -07:00
Fabio Rehm d76eb25d74 Merge pull request #1818 from fgrehm/kick-off-contributing-guidelines
Kick off vagrant's Contributing Guidelines
2013-06-10 20:14:59 -07:00
Fabio Rehm 2c806079c9 Add notes about debugging logs to contributing guidelines 2013-06-09 20:42:31 -03:00
Fabio Rehm 9b947d0c4a Change link to issue tracker on CONTRIBUTING.md 2013-06-09 20:40:26 -03:00
Fabio Rehm 68e5e8e740 Kick off CONTRIBUTING.md based on @anselmh's https://github.com/anselmh/CONTRIBUTING.md 2013-06-09 20:37:24 -03:00