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
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
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
Mitchell Hashimoto
ba91602628
Bind default SSH to 127.0.0.1 [GH-1785]
2013-06-09 15:15:59 -07:00
Mitchell Hashimoto
cf2f6da4db
Validate an IP is given for a private network [GH-1788]
2013-06-09 13:46:46 -07:00
Mitchell Hashimoto
3d1332c86f
virtualbox: only configure networks if there are some [GH-1796]
2013-06-09 13:37:15 -07:00
Mitchell Hashimoto
16139dc435
Merge pull request #1798 from hecko/master
...
fixes the status command output formatting
2013-06-09 13:30:36 -07:00
Mitchell Hashimoto
5e48391b05
read_ip_address linux cap only reads ip of first device [GH-1799]
2013-06-09 13:27:08 -07:00
Mitchell Hashimoto
80f06605fb
config.vm.guest now forces guest setting again [GH-1800]
2013-06-09 13:17:23 -07:00
JP Rosevear
1029538b24
Set ARPCHECK=no as an environment variable with doing ifup #921
2013-06-09 14:14:33 -04:00
Dave Gudge
699ac0ac96
Defining the group of a shared folder
...
Symtom: The group ID for groups that are not backed by a user account (e.g. admin) cannot be obtained from the id command.
Consequence: The shared folder group can only be set to a group where by a user account of the same name exists.
Solution: Correcting the method to define the group ID by looking up the group ID via the group name.
2013-06-06 13:11:49 +02:00
Marcel Hecko
4b9c21b5a6
[status command print formatting]
...
the result line needs space between the name of the VM and short_description - otherwise the formatting of the output breaks when the name of the VM is too long - the name of the VM gets smashed together with the short_description rendering
2013-06-05 14:10:24 +02:00
Deepak Seshadri
497ebb0f72
Fix setting persistent hostname on SLES guests.
2013-05-31 19:31:43 +10:00
Alper Kanat
dbfce678bf
fixed networking issues of Arch Linux with netctl changes
2013-05-24 00:19:31 +03:00
Frank Shearar
2eb97b518c
You need to include the module to use the class without ::s.
2013-05-22 16:29:58 +01:00
Jon Heise
7a89ab7fad
patching network.rb to allow setting static ip's on public networks
2013-05-18 23:41:33 -07:00
Raadad Elsleiman
e108995023
added most recent version of salty-vagrant and bootstrap.sh
2013-05-19 03:29:36 +10:00
Raadad Elsleiman
017baa1ddb
Merge https://github.com/mitchellh/vagrant into salty-vagrant-provisoner
2013-05-19 03:03:11 +10:00
Frank Shearar
caf4ea722e
Import the TemplateRenderer (like the other guests do).
2013-05-14 21:22:19 +01:00
Gilles Cornu
8d5b614231
protected not private
2013-05-14 05:26:26 +02:00
Gilles Cornu
f2e9562e5f
Add support for "ansible.start_at_task" attribute
2013-05-14 05:25:28 +02:00
Tore Darell
b111cb6392
Emit 'vagrant-mounted' on Ubuntu in mount_virtualbox_shared_folder capability
...
Also includes the same, but commented out, for mount_nfs capability
2013-05-11 16:11:57 +02:00
Andrzej Szeszo
c47522658e
#1639 Better Solaris OS detection (use portable method that actually works)
2013-05-10 15:19:47 +02:00
Anton Kalyaev
098516e80e
respect :nic_type option for private network. Fixes #1704
2013-05-10 15:45:50 +04:00
Gilles Cornu
cc4734dfc1
Fix typo error (single dash: -vv not --vv)
2013-05-07 16:57:13 +02:00
Govinda Fichtner
270913b7b9
fix uninitialized constant error for gentoo plugin
2013-05-07 11:38:46 +02:00
Gilles Cornu
96fb28dcf9
Support different verbosity levels with 'ansible.verbose'
2013-05-06 23:01:27 +02:00
Gilles Cornu
66715de2ae
Add a Joker to pass raw options to ansible-playbook call
2013-05-06 22:28:20 +02:00
Gilles Cornu
7bc6dd8a33
Add support for "ansible.tags" attribute
2013-05-06 21:17:45 +02:00
Anton Kalyaev
6c5a580006
more concise message for BoxNotFound error
...
Now we have different providers, but the error message didn't tell
anything about it. Suppose I want to remove one of my boxes:
vagrant box remove opscode-ubuntu-12.04 vritualbox
There is a typo in provider name. The error message is:
Box 'opscode-ubuntu-12.04' could not be found.
Therefore I need to double check the box name, and only than I will see
the typo.
This commit make the error message looks like this:
Box 'opscode-ubuntu-12.04' with 'vritualbox' provider could not be
found.
2013-05-05 18:23:12 +04:00
Philipp Franke
c92ce0f4d0
Add OpenSUSE network settings
2013-05-03 12:39:26 +02:00
Mitchell Hashimoto
4f563e3be6
Allow network names to be strings in V1 config
2013-05-01 21:29:28 -07:00
Mitchell Hashimoto
4d26f01b7b
SmartOS should be OmniOS
2013-05-01 19:02:00 -07:00
Mitchell Hashimoto
6e4a9e15f7
Puppet provisioner supports hiera by specifying hiera_config_path
2013-05-01 18:44:36 -07:00
Fabio Rehm
4625d77072
More reliable Ubuntu and Debian guest detection
...
When dealing with lxc containers, '/proc/version' will have information
about the host machine kernel that can possibly have information about
an Ubuntu / Debian host, messing up with guest container detection.
2013-05-01 21:00:39 -03:00
Mitchell Hashimoto
617bf08f9e
Use the proper path on Puppet apply to the manifest
2013-04-30 18:31:06 -07:00
Mitchell Hashimoto
436a942492
Support working_directory option for Puppet [GH-1670]
2013-04-30 18:27:33 -07:00
Mitchell Hashimoto
7f32af980e
SmartOS support for setting hostnames [GH-1672]
2013-04-30 15:07:41 -07:00
Mitchell Hashimoto
e0f8114103
Detect missing Linux kexts via vboxnetctl error message [GH-1671]
2013-04-30 09:45:00 -07:00
Mitchell Hashimoto
ad5873d330
More robust VBoxManage error checking. [GH-1669]
2013-04-29 10:11:53 -07:00
Mitchell Hashimoto
bd1467dfe8
Better message when using VirtualBox config
2013-04-23 11:58:47 -07:00
Mitchell Hashimoto
40e9ce6252
Convert DOS line endings to Unix in shell provisioner [GH-1495]
2013-04-22 23:32:13 -07:00
Mitchell Hashimoto
d8ff2cb5ad
Attempt to read guest additions version from showvminfo [GH-1575]
2013-04-22 20:38:57 -07:00
Mitchell Hashimoto
efcb25693e
Update CHANGELOG for GH-1639
2013-04-22 20:29:17 -07:00
Andrzej Szeszo
b0ad782249
#1639 Better Solaris OS detection
2013-04-22 19:05:15 +02:00
Mitchell Hashimoto
280afa96c4
Fix default encrypted data bag secret
2013-04-22 08:43:20 -07:00
Mitchell Hashimoto
9dd582be3a
Compile the provider overrides early so config caching works
2013-04-19 23:16:09 -06:00
Mitchell Hashimoto
780a312fc9
Built-in DestroyConfirm middleware
2013-04-19 14:14:29 -06:00
Mitchell Hashimoto
105bf6129c
Improved SSH logging for connections
2013-04-19 10:14:45 -06:00
Mitchell Hashimoto
c0539d6e31
Warn if run list on Chef is empty, not error [GH-1620]
2013-04-19 10:12:09 -06:00
Neil Wilson
f7ce0bc893
Add ssh username to ssh connection log message
2013-04-19 17:03:26 +01:00
Raadad Elsleiman
25ef83e1e4
pushing salt provisioner
2013-04-18 22:41:34 +10:00
Mitchell Hashimoto
45267c85fe
Fix vagrant package --base [GH-1615]
2013-04-17 08:22:26 -07:00
Mitchell Hashimoto
0e7a9d3c91
Mount VBox shared folders with proper owner/group [GH-1611]
2013-04-16 17:09:32 -07:00
Mitchell Hashimoto
0f089c5671
`--[no-]parallel` for vagrant up
2013-04-16 15:22:14 -07:00
Mitchell Hashimoto
4bb5da7232
Chef client config defaults are correct [GH-1609]
2013-04-16 15:07:37 -07:00
Mitchell Hashimoto
8322f20f4b
Get rid of arbitrary 4 second sleep for SSH
2013-04-16 13:50:02 -07:00
Mitchell Hashimoto
b49bd8b8ea
Properly set the chef-solo run list [GH-1608]
2013-04-16 13:23:00 -07:00
Mitchell Hashimoto
9fe59d9863
Fix regression that @geetarista fixed.
2013-04-15 17:03:22 -07:00
Mitchell Hashimoto
a3fdfa0989
Default node name
2013-04-15 17:02:53 -07:00
Robby Colvin
845e966e0b
Fix typo in chef provisioning
2013-04-15 16:34:22 -07:00
Mitchell Hashimoto
79099086f5
Switch chef configuration to new-style
2013-04-15 12:08:08 -07:00
Shawn Dahlen
8afd3f105c
Fix use of config.ssh.username and reset provisioning path permissions.
...
This commit contains two fixes:
- The Chef provisioner was incorrectly referencing config.ssh.username
instead of machine.ssh_info[:username]. With the new change to default
ssh configuration, if a user had not set config.ssh.username,
provisioning would fail.
- The shell provisioner was not appropriately changing permissions to
the upload path. If a different ssh user attempted to use a shell
provisioner, provisioning would fail. The same case applied to
the Chef provisioner -- while permissions were being reset, they
were not done recursively.
2013-04-11 08:05:50 -04:00
Mitchell Hashimoto
e64696e839
Automatically override forwarded ports if host ports match
2013-04-10 15:37:04 -07:00
Mitchell Hashimoto
c4422d7198
FreeBSD and OpenBSD guest detection
2013-04-10 14:15:02 -07:00
Mitchell Hashimoto
d76f964470
Linux guest detection
2013-04-10 13:39:21 -07:00
Mitchell Hashimoto
6b3e028166
Output shell script that is running [GH-1568]
2013-04-10 11:27:45 -07:00
Mitchell Hashimoto
28de46f3b4
Not an error if cookbooks path is missing
2013-04-10 11:21:18 -07:00
Mitchell Hashimoto
f48587bcd1
Shared folders with the same guest path overwrite each other
2013-04-10 10:44:53 -07:00
Mitchell Hashimoto
ba07d303e5
More robust hostname checking for RedHat [GH-1566]
2013-04-10 09:33:33 -07:00
Mitchell Hashimoto
5690aef4b0
Don't duplicate names when defining new machines in VFile
2013-04-09 19:05:35 -07:00
Mitchell Hashimoto
c1f53a4ace
ssh-config doesn't raise exception when VB machine not created [GH-1562]
2013-04-09 08:47:52 -07:00
Mitchell Hashimoto
41d6553a5d
Don't allow the forward_* SSH option sto be default, no sense
2013-04-08 21:03:51 -07:00
Mitchell Hashimoto
d03938e3c1
config.ssh properly overrides provder-detected [GH-1479]
2013-04-08 20:50:15 -07:00
Mitchell Hashimoto
66ff86fda5
Auto-detect policy server IP for CFEngine
2013-04-08 15:30:41 -07:00
Mitchell Hashimoto
9b9ed2d2aa
files_path setting for CFEngine
2013-04-08 15:15:45 -07:00
Mitchell Hashimoto
b279f222a2
run_file path validation for CFEngine
2013-04-08 15:02:33 -07:00
Mitchell Hashimoto
67917353b7
Add support for policy hub bootstrapping
2013-04-08 14:47:11 -07:00
Mitchell Hashimoto
28432fc813
Specify extra args for the cf-agent call
2013-04-08 14:27:27 -07:00
Mitchell Hashimoto
292bada134
Support config.classes for extra classes in CFEngine
2013-04-08 14:24:46 -07:00
Mitchell Hashimoto
c25ce9f732
run_file and single_run mode in CFEngine
2013-04-08 14:21:10 -07:00
Mitchell Hashimoto
ae8e8830c4
Some CFEngine config validation
2013-04-08 13:51:40 -07:00
Mitchell Hashimoto
c457285fb6
Basic CFEngine boostrapping
2013-04-08 13:46:03 -07:00
Mitchell Hashimoto
53e15263f5
Start working on CFEngine bootstrap
2013-04-08 13:28:54 -07:00
Mitchell Hashimoto
8f9a5671de
Support installing CFEngine on RedHat
2013-04-08 13:09:52 -07:00
Mitchell Hashimoto
9599d8a45d
Starting work on CFEngine, installs on Debian
2013-04-08 13:05:53 -07:00
Mitchell Hashimoto
4d3159ff7e
Fix configure_networks for Fedora as well
2013-04-08 11:08:14 -07:00
Mitchell Hashimoto
78d4d0a790
Networks come back up properly after reboot on RedHat [GH-921]
2013-04-08 11:02:03 -07:00
Mitchell Hashimoto
fd157476b4
extend should be include for TemplateRenderer in caps
2013-04-08 10:47:19 -07:00
Mitchell Hashimoto
a9b2ab33ad
Convert network type to symbol so that strings can be used
2013-04-08 10:39:26 -07:00
Mitchell Hashimoto
88b34d3b71
Message on `up` that VM is already running [GH-1558]
2013-04-08 09:09:23 -07:00
Mitchell Hashimoto
c1acdc2409
Get rid of ruby warning from shadowing in SSH command
2013-04-07 22:10:50 -07:00
Mitchell Hashimoto
8b2bf72e8a
Fix parsing SSH extra args in multi-machine envs [GH-1545]
2013-04-07 22:07:55 -07:00
Mitchell Hashimoto
7fa9892b75
Send SSH keep-alive packets [GH-516]
2013-04-07 21:51:14 -07:00
Mitchell Hashimoto
142cc4bef7
rtcuseutc as sane default for VBox [GH-912]
2013-04-07 15:04:38 -07:00
Mitchell Hashimoto
c34c8b39c3
Expand Cygwin path to Windows for VirtualBox shared folders
2013-04-06 22:08:41 -07:00
Mitchell Hashimoto
373a1d8633
Properly expand cygwin paths to Windows path for vboxmanage
2013-04-06 22:06:33 -07:00
Mitchell Hashimoto
d7990721a0
s/not/!/ in ansible provisioner config
2013-04-05 09:43:56 -07:00
Collin Allen
d783b33fe2
Validate that extra_vars is a hash
2013-04-05 09:40:32 -07:00
Collin Allen
c2b43787c5
Make Ansible extra_vars a hash instead of a string
2013-04-05 08:43:45 -07:00
Mitchell Hashimoto
1957efb4e1
Nicer error if ansible-playbook is not installed on the host
2013-04-04 14:01:26 -07:00
Mitchell Hashimoto
896db2f190
Ansible provisioner support CHANGELOG
2013-04-04 13:48:58 -07:00
Mitchell Hashimoto
1c2a46ba72
Merge ansible provisioner [GH-1465]
2013-04-04 13:39:36 -07:00
Mitchell Hashimoto
7b9e5fd4a7
Include should be extend for class methods
2013-04-04 12:25:40 -07:00
Mitchell Hashimoto
439499fc11
Solaris capabilities
2013-04-04 12:25:10 -07:00
Mitchell Hashimoto
5e09577a76
Lots more guest capabilities converted
2013-04-04 12:09:40 -07:00
Mitchell Hashimoto
2c362d4d28
FreeBSD capabilities
2013-04-04 11:56:42 -07:00
Mitchell Hashimoto
8bf9fb17b1
Remove freeBSD config because it isn't used anymore
2013-04-04 11:50:05 -07:00
Mitchell Hashimoto
0e4e347308
Fedora capabilities
2013-04-04 11:49:26 -07:00
Mitchell Hashimoto
7f33081387
Convert arch to capabilities
2013-04-04 11:39:58 -07:00
Collin Allen
2aa96fc550
Enable Ansible color output
2013-04-04 11:31:27 -07:00
Collin Allen
b52d4dcd58
Add config.rb newline
2013-04-04 00:24:14 -07:00
Collin Allen
bbe08744a2
Use Vagrant::Util::Subprocess.execute instead of SafeExec
2013-04-04 00:07:59 -07:00
Collin Allen
28f4a4c890
Update 'require' calls to resemble shell provisioner
2013-04-04 00:07:30 -07:00
Mitchell Hashimoto
0fbe9b0aca
Ubuntu change_host_name cap
2013-04-03 23:53:17 -07:00
Mitchell Hashimoto
22f3ea6606
Remove the linux config, not used anyways
2013-04-03 23:50:12 -07:00
Mitchell Hashimoto
067f431ee9
Better debugging on searching for capabilities
2013-04-03 23:46:39 -07:00
Mitchell Hashimoto
2f232e0175
Halt and mount NFS are caps
2013-04-03 23:33:20 -07:00
Mitchell Hashimoto
61d2f9f96f
SetHostname uses new cap system
2013-04-03 23:18:12 -07:00
Mitchell Hashimoto
63f28a9011
Nicer error messages for new linux caps
2013-04-03 23:14:24 -07:00
Mitchell Hashimoto
2a542dab02
Switch configure_networks to capabilities system
2013-04-03 23:08:33 -07:00
Collin Allen
5a052874b4
Improve ansible provisioner error checks
2013-04-03 23:07:07 -07:00
Mitchell Hashimoto
28d3f274d8
First capability for linux
2013-04-03 23:01:43 -07:00
Collin Allen
a1ad1207bd
Add ansible provisioner
2013-04-03 22:56:32 -07:00
Mitchell Hashimoto
52f3847b0a
Laying the foundation for the new guest plugin
2013-04-03 21:47:57 -07:00
Mitchell Hashimoto
4ffc2c3b74
Invalid configuration keys are caught and shown in user friendly way
...
[GH-1484]
2013-04-03 16:18:37 -07:00
Mitchell Hashimoto
fc708bc139
Respect :mac option for networks [GH-1536]
2013-04-03 15:41:42 -07:00
Mitchell Hashimoto
52a2f48b20
Provider-specific configuration overrides via 2nd block param
...
Example:
Vagrant.configure("2") do |config|
# ...
config.vm.provider :virtualbox do |p, vb_config|
vb_config.vm.box = "virtualbox_box"
end
end
2013-04-03 14:57:14 -07:00
Matt Wormley
00c9f2c973
added ssh.proxy_command to handle waiting for aws ssh connection when ssh proxy in place. use config.ssh.proxy_command = "ssh -q <user>@<proxy_host> nc %h %p"
2013-04-03 13:54:47 -07:00
Mitchell Hashimoto
acd494d148
Get rid of debug exception
2013-04-03 12:50:04 -07:00
Mitchell Hashimoto
749b7b7d70
Update SSH config to be more modern
2013-04-03 12:49:59 -07:00
Mitchell Hashimoto
0f0c0b0396
Add max redirects for download
2013-04-03 12:01:12 -07:00
Mitchell Hashimoto
5e2549fe8b
Add "--insecure" flag for downloader
2013-04-03 11:57:40 -07:00
Mitchell Hashimoto
36edc4a0fd
Re-disable parallel on virtualbox
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
bd60d6b283
Lock around chdir in Subprocess for thread safety
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
c84c609633
Gracefully handle errors in parallel cases
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
df93a221e1
Up command now uses Environment#batch
2013-04-03 08:31:42 -07:00
Mitchell Hashimoto
54f7930b84
Run "up" in a batch action so it parallelizes
2013-04-03 08:31:42 -07:00
Mitchell Hashimoto
79ba9df881
Respect the "disabled" flag for shared folders for VirtualBox [GH-1004]
2013-04-03 08:31:41 -07:00
Mitchell Hashimoto
8aff752cfb
v1.1.6
2013-04-03 08:31:10 -07:00
Mitchell Hashimoto
64e360814c
Fix issue with Chef solo not using Pathname
2013-04-02 16:33:14 -07:00
Mitchell Hashimoto
82f3a3ec29
Go next if local path doesn't exist for Chef
...
This avoids issues with nil remote_paths
2013-04-02 15:05:10 -07:00
Mitchell Hashimoto
8458166c6a
Don't share default chef folder if doesn't exist on host
2013-04-02 15:04:06 -07:00
Mitchell Hashimoto
a8a7a7865d
Show an error if an invalid network type is used
2013-04-02 15:00:18 -07:00
Mitchell Hashimoto
bc2a9fe780
VBoxManage errors show stderr
2013-03-31 20:45:54 -07:00
Mitchell Hashimoto
4f1a3dad8c
Retry SSH on Errno::EACCES
2013-03-31 20:27:08 -07:00
Mitchell Hashimoto
7e1c313ff5
Properly detect in valid provisioners
2013-03-30 14:39:29 -07:00
Mitchell Hashimoto
0a86deedf1
better comments on the last change
2013-03-29 13:15:11 -07:00
Mitchell Hashimoto
30053638af
Human friendly error on exit code 126 from VBoxManage
2013-03-29 13:14:00 -07:00
Mitchell Hashimoto
40250843b3
More comprehensive synced folder validation [GH-1499]
2013-03-29 12:45:44 -07:00
Dave Marshall
b8a8286fac
Use current user's uid for NFS exports
2013-03-29 00:14:12 +00:00
Mitchell Hashimoto
665450614a
Don't error if machine shuts down really quickly on graceful [GH-1505]
2013-03-28 15:52:00 -07:00
Mitchell Hashimoto
ed038c8c64
Better detect SSh connections closing
2013-03-28 15:48:36 -07:00
Mitchell Hashimoto
361cc1ae40
Proper error message if invalid provisioner is used [GH-1515]
2013-03-28 15:38:32 -07:00
Mitchell Hashimoto
d9c1b4b3fc
Default forward port adapter for VirtualBox should be 1
2013-03-25 14:32:15 -07:00
Elan Ruusamäe
bd8a24e945
add basic pld linux support
...
PLD Linux Distribution: https://www.pld-linux.org/
2013-03-24 19:38:56 +02:00
Mitchell Hashimoto
43d85930ed
Improve network interface detection to avoid crash [GH-1480]
2013-03-22 10:51:07 -07:00
Mitchell Hashimoto
230a3ca0bf
Force to_i on adapters for forwarded ports in VirtualBox
2013-03-22 10:47:25 -07:00
Mitchell Hashimoto
a4745fb426
Properly handle forward port collision detection with auto-correct
...
[GH-1472]
2013-03-21 16:33:06 -07:00
Mitchell Hashimoto
df23c2a8fa
Move guest addition check to later, after boot [GH-1179]
2013-03-21 13:59:13 -07:00
Mitchell Hashimoto
fcd93bb133
Logging on gem sources
2013-03-20 22:33:50 -07:00
Mitchell Hashimoto
408eee746d
Stylistic changes for GH-1461
2013-03-20 22:30:31 -07:00
Mitchell Hashimoto
3fe7809eea
Merge pull request #1461 from hmalphettes/master
...
Ability to install a vagrant plugin with a specific version and source
2013-03-20 22:28:30 -07:00
Mitchell Hashimoto
78d05e73d7
Chef-solo recipe_url works properly again [GH-1467]
2013-03-20 22:20:19 -07:00
Jan Schumann
d42b7745e4
added dhcp configuration option for private networks
2013-03-20 20:18:32 +01:00
Fabio Rehm
3c4002ac4e
Fix typo on ComunicatorSSH plugin name
2013-03-20 11:47:41 -03:00
Hugues Malphettes
135adc8904
Support a few more gem parameters - take 2
2013-03-20 14:02:32 +08:00
Mitchell Hashimoto
6babeb4188
Puppet retains default module path even when custom is set [GH-1207]
2013-03-19 15:23:37 -07:00
Mitchell Hashimoto
d7b7a32814
Attempt to re-establish SSH connection on Net::SSH::Disconnect
2013-03-18 18:10:54 -07:00
Mitchell Hashimoto
c94f61d274
Only prepare NFS settings for VirtualBox if NFS is enabled
2013-03-18 13:21:06 -07:00