Mitchell Hashimoto
0dfeec4fae
Merge pull request #2016 from mcourtois/fix/master/status_cosmetic
...
commands/status: Cosmetic fix to align machine name and states in the status command
2013-08-09 11:14:15 -07:00
Mitchell Hashimoto
8e065abf3c
Merge pull request #2026 from ppp0/patch-set-hostname-debian
...
plugins/guests/debian: Forcing eth0 to come up
2013-08-09 11:11:57 -07:00
Mitchell Hashimoto
17ecd05c5f
plugins/provisioners/ansible: rename inventory_file to inventory_path
...
/cc @ches
2013-08-09 11:06:02 -07:00
Mitchell Hashimoto
ac8b2c5047
plugins/provisioners/ansible: use exist? check
...
/cc @ches
2013-08-09 11:04:35 -07:00
Mitchell Hashimoto
15142704eb
Merge pull request #2035 from ches/ansible-inventory-directories
...
Ansible inventory can be a directory, not just a file
2013-08-09 11:03:52 -07:00
Mitchell Hashimoto
d24caac5ae
Merge pull request #1914 from b2jrock/darwin-guest
...
OS X (darwin) guest support.
2013-08-09 10:53:29 -07:00
Ches Martin
c38855f8c1
Ansible inventory can be a directory, not just a file
...
It is an under-documented feature that one can specify a directory as
the Ansible inventory source, not just a single file. In that case,
Ansible merges the contents of flat files and any executable inventory
plugins found in the directory.
This is useful, for instance, to put localhost in your inventory for use
with `local_action` even if your entire infrastructure is otherwise on
EC2 or some other dynamic inventory source. I also use a flat file to
create aliases for host groups automatically generated from the EC2 API,
like "staging" for `tag_Environment_staging`.
2013-08-09 01:26:04 +07:00
Timothy Sutton
23962baac9
Darwin: use :sudo for communicate.test
2013-08-07 17:10:32 -04:00
Timothy Sutton
a3b9428f67
Darwin: code debug cleanup
2013-08-06 10:18:38 -04:00
Timothy Sutton
8b925e6c15
Update Darwin guest description
2013-08-06 10:18:12 -04:00
Timothy Sutton
78ec8b5809
Darwin: clean up temporary network interface file downloaded from guest
2013-08-06 10:17:52 -04:00
Timothy Sutton
300d151608
Darwin guest: mount_vmware_shared_folder cap for use with vmware_fusion provider
...
- It's not clear whether it's possible to mount individual shares
using 'mount -t vmhgfs', as the vagrant-vmware-fusion provider now does
for Linux guests. Any mount from '.host', even if not a valid share
name, succeeds and mounts _all_ shares in their respective directories
at the root of the mountpoint. Instead, we symlink each directory from
its place in '/Volumes/VMware Shared Folders'
2013-08-06 10:17:12 -04:00
Brian Johnson
7d0a92c5b4
Remove the +1 offset, I resolved the issue with the 'phantom' en1
...
interface. For some reason interfaces still skip en1, but provided we
enumerate based on order and not name, things should work smoothly.
2013-08-05 18:45:42 -07:00
Brian Johnson
e5ce19ff11
Tabs must die.
2013-08-05 18:07:45 -07:00
Brian Johnson
3611ff39f4
Change mount_nfs_folder cap to be more like the linux version, adding a
...
bunch of retires rather than a long sleep.
Add DarwinNFSMountFailed error. This might move be more appropriate at
the plugin level.
Integrate some of tvsutton's work in configure_networks to get the
implementation closer to working in both fusion and virtualbox.
Add shell_expand_guest_path capability (also copied from linux)
2013-08-05 17:39:44 -07:00
Philipp Gysin
b6f2443bd5
Forcing eth0 to come up
2013-08-05 18:02:12 +02:00
Artur Roszczyk
bf21021cfc
Cleanup of CoreOS guest plugin
2013-08-04 02:15:37 +02:00
Artur Roszczyk
c8cd47ff6d
Make slaves connecting to first node
2013-08-03 22:53:31 +02:00
Artur Roszczyk
d8c10ad901
LVP for coreos guest support
2013-08-03 20:31:42 +02:00
Artur Roszczyk
5010738043
Improve Gentoo guest detection
2013-08-03 19:55:17 +02:00
Marc-André Courtois
ed03add533
Start padding with 25 characters to keep original behavior
2013-08-01 13:23:18 -04:00
Marc-André Courtois
97aed37aea
Use longest machine name to pad in status cmd
2013-08-01 13:17:55 -04:00
Francisco A. Lozano
521a5c5829
Added :owner => root to mount options
2013-08-01 14:46:03 +02:00
Brian Johnson
5606aa8b1e
Working implementation with NFS, still some caveats:
...
- There's a lengthy sleep in there, probably could use a back-off loop
- en1 seems totally worthless on vbox, I skip it and just use the en2 it creates.
2013-07-31 18:07:04 -07:00
gwenci
2a9d0c9d7f
Update host.rb
...
Vagrant has been failing to run on CentOS 6 since version 1.2.5.
The read of file /etc/redhat-release appeared to be only checking for the word Fedora. Altered the regex to match CentOS as well
2013-07-30 18:00:08 +01:00
Ches Martin
d937cca495
Fix Ansible provisioner exit code reporting
...
In eb70c0d6bb
we were trying to compare a Subprocess::Result to a
Fixnum, resulting in Vagrant always reporting failure regardless of
Ansible's exit code.
2013-07-30 19:25:15 +07:00
Mitchell Hashimoto
e1c0c48ffa
Show the correct installed plugin [GH-1834]
2013-07-28 21:38:48 -07:00
Michael Glass
a2a88118de
removing dead code
...
concept introduced in 59282ba999
was removed in 28de46f3b4
2013-07-28 16:07:20 -07:00
Mitchell Hashimoto
2282a88f3d
Convert config.vm.hostname to string [GH-1999]
2013-07-28 12:08:49 -07:00
Mitchell Hashimoto
6c4592ad64
Use --color=false for Puppet no color [GH-2000]
2013-07-28 12:07:48 -07:00
Mitchell Hashimoto
aeb1fa7ecb
unnecessary '!'
2013-07-27 22:21:37 -07:00
Mitchell Hashimoto
632349710e
Convert hostpath to string on windows so gsub works
2013-07-27 22:20:55 -07:00
Erran Carey
2033eba2d4
Display post install messages if a plugin has any
2013-07-26 01:50:35 -05:00
Michael Glass
876937fc9e
fix regression chowning chef provisioning directory
...
if the provisioning directory is mounted before this method is called, and the mounted filesystem is of a type that doesn't support chown (e.g. vmhgfs for vmware or hfs) then this method will fail.
2013-07-25 13:22:03 -07:00
Timo Sugliani
75da036f42
Cosmetic typo error.
2013-07-24 08:55:12 +01:00
Mitchell Hashimoto
fc7c8b1e99
Replace '\' with '/' on synced folders on Windows
2013-07-23 17:36:48 -05:00
Mitchell Hashimoto
c0404e3f63
Mount NFS with UDP protocol by default [GH-1706]
2013-07-23 17:36:48 -05:00
Mitchell Hashimoto
b2ee015d00
VirtualBox no longer removes network interfaces [GH-1324]
2013-07-23 17:36:48 -05:00
Mitchell Hashimoto
aeb0132dcb
Discover and set SSH_AUTH_SOCK on sudo with forward agent [GH-1307]
2013-07-23 17:36:48 -05:00
Mitchell Hashimoto
92a61f96a0
Config validation error if :id in pre-import VBoxManage
2013-07-23 17:36:47 -05:00
Mitchell Hashimoto
5f34a694f5
VBoxManage customizations can run at different events [GH-1247]
2013-07-23 17:36:47 -05:00
Fabio Rehm
4b299c9fc2
Add missing comma on puppet provisioner file
2013-07-21 17:38:56 -03:00
Mitchell Hashimoto
2d16588952
Validation so private network IP doesn't end in .1 [GH-1750]
2013-07-20 00:43:42 -04:00
Mitchell Hashimoto
b2d1a26dcf
NFS request is silently ignored on Windows [GH-1748]
2013-07-20 00:38:58 -04:00
Mitchell Hashimoto
cf1768c7be
Retry SSH on ENETUNREACH [GH-1732]
2013-07-20 00:27:25 -04:00
Mitchell Hashimoto
af66f5f930
box_download_insecure to not validate https of box_url [GH-1712]
2013-07-20 00:18:02 -04:00
Mitchell Hashimoto
4151df884a
Forwarded ports don't auto-correct by default [GH-1701]
2013-07-20 00:15:11 -04:00
Mitchell Hashimoto
eb70c0d6bb
Show an error message if ansible fails to run [GH-1699]
2013-07-20 00:07:09 -04:00
Mitchell Hashimoto
1841723478
Add read_mac_addresses to 4.2 VirtualBox driver [GH-1690]
2013-07-20 00:02:05 -04:00
Mitchell Hashimoto
7fd363a2f4
Shared folder target path can be a Windows path [GH-1688]
2013-07-20 00:00:49 -04:00
Mitchell Hashimoto
f4c36795df
Properly determine shared folder path even if .profile echos [GH-1677]
2013-07-19 23:53:53 -04:00
Mitchell Hashimoto
8379d0e20e
Don't forcibly output newlines for provisioners
2013-07-19 23:38:25 -04:00
Fabio Rehm
264a220461
Merge branch 'more-concise-box-not-found-error-message' of https://github.com/akalyaev/vagrant into akalyaev-more-concise-box-not-found-error-message
2013-07-18 23:32:15 -03:00
Mitchell Hashimoto
14ae9ed039
Comment
2013-07-18 13:56:45 -04:00
Mitchell Hashimoto
900f7e4d63
Error if VBox 4.2.14 is running.
2013-07-18 13:54:53 -04:00
Mitchell Hashimoto
80666c03d6
vagrant help <foo> works [GH-1578]
2013-07-18 12:11:36 -04:00
Mitchell Hashimoto
cbf1417964
Change solaris shut down command to properly shut down [Gh-1506]
2013-07-18 11:48:20 -04:00
Mitchell Hashimoto
e73e2b375d
Register fedora host as CentOS too [GH-1394]
2013-07-18 11:23:46 -04:00
Kazuhiro NISHIYAMA
889067666b
pass guest_ip option from config to driver [GH-1121]
2013-07-18 15:03:13 +09:00
Mike Fiedler
5c2c5b9999
Adds formatter option to Chef Provisioner [GH-1250]
2013-07-18 00:45:31 -04:00
Fabian Ruff
931e23c5d0
add verbose_logging config option to chef based provisioners
...
Conflicts:
plugins/provisioners/chef/config/base.rb
2013-07-18 00:20:08 -04:00
Mitchell Hashimoto
87455b5d0a
Disabe puppet colors if UI has colors disabled [GH-1344]
2013-07-18 00:16:53 -04:00
Mitchell Hashimoto
3e9c1cfcde
Default VM name for VirtualBox contains Vagrantfile VM name [GH-1281]
2013-07-18 00:05:23 -04:00
Mitchell Hashimoto
3028940adb
NFS allows access from all networks on VM [GH-1204]
2013-07-18 00:01:49 -04:00
Mitchell Hashimoto
62c1bea7d3
Remote commands show output when fails [GH-1203]
2013-07-17 23:39:42 -04:00
Mitchell Hashimoto
04afd11fd1
Shared folder inheritence doesn't overwrite multi-vm [GH-1935]
2013-07-17 23:18:39 -04:00
Mitchell Hashimoto
bc7b481dbe
Get the deb/ubuntu change host name correct
2013-07-17 13:39:32 -05:00
Mitchell Hashimoto
9d6a6cc9a1
Allow hotplug on deb/ubuntu change host name [GH-1929]
2013-07-17 05:03:48 -07:00
Fabio Rehm
2d4a3994ea
Merge pull request #1734 from frankshearar/arch-configure-network-needs-template
...
No TemplateRenderer for arch's configure_networks
2013-07-16 18:20:46 -07:00
Patrick Connolly
7e0050527d
Moves to using new chef cache/backup dir defaults.
...
Conflicts:
plugins/provisioners/chef/provisioner/base.rb
2013-07-16 16:50:10 -07:00
Patrick Connolly
4713f146b4
Adds file_cache_path support for chef_solo. [GH-1897]
...
Conflicts:
CHANGELOG.md
2013-07-16 16:49:37 -07:00
Mitchell Hashimoto
76a91d424c
Merge pull request #1920 from nickanderson/feature/custom_cf_package_name
...
Feature/custom cf package name
2013-07-16 16:36:22 -07:00
Mitchell Hashimoto
b941a31a3f
Merge pull request #1929 from fpletz/fix/master/fix_dhcp_on_debian_ubuntu_guests
...
DHCP renewal on Debian/Ubuntu after setting hostname
2013-07-16 16:25:47 -07:00
Mitchell Hashimoto
608bc7c0eb
NFS exports with single quotes now work properly [GH-1166]
2013-07-16 16:23:33 -07:00
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
Mitchell Hashimoto
0dfc6455ae
Update CHANGELOG
2013-07-13 09:22:53 +09: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
81550392b0
Close SSH channel after exit status received [GH-603]
2013-07-12 06:40:27 +09: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
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
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
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
Emiliano Ticci
b0b18c64dd
Raise a proper SSH error on EHOSTUNREACH
2013-07-09 14:35:07 +02:00
Collin Allen
f67938249d
Generate ansible_hosts file if one is not provided
2013-07-06 23:47:37 -07: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
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
Mitchell Hashimoto
ba242cd978
Merge pull request #1714 from aszeszo/master
...
Use proper detection for Solaris
2013-06-09 15:55:24 -07:00
Mitchell Hashimoto
958efc28a7
Merge pull request #1760 from tunix/netctl
...
fixed networking issues of Arch Linux with netctl changes
2013-06-09 15:52:02 -07:00