Mitchell Hashimoto
668bab0ba9
Better host loading scheme
2011-12-11 23:22:44 -08:00
John Watson
8a0a1bddb5
Proper support for NFS in FreeBSD
2011-11-24 21:45:23 -07:00
Mitchell Hashimoto
e739e68e30
Look for "redhat-release" for Fedora
2011-08-28 14:13:54 -07:00
Mitchell Hashimoto
0f0cb27e50
Use proper nfsd binary on Fedora [closes GH-450]
2011-08-27 23:47:13 -07:00
Mitchell Hashimoto
1c2f80fab4
Distro dispatch for Host classes
2011-08-27 23:39:02 -07:00
Tim Joseph Dumol
2c091c98cc
Added Arch Linux as under vagrant/hosts
...
Added NFS support for Arch Linux under vagrant/hosts by adding
vagrant/hosts/arch and a platform test for Arch Linux.
2011-04-19 22:03:21 -07:00
Mitchell Hashimoto
34a3102325
Make code a bit more readable
2011-02-08 22:27:16 -08:00
Mitchell Hashimoto
a0dacb0fc2
NFS folders with spaces should now work [GH-293]
2011-02-08 21:14:20 -08:00
Brice Figureau
bafb572b70
More permissive sed call on BSD hosts to prevent errors when cleaning nfs
...
Gnu sed -i option doesn't support a space between the option and the
backup extension.
On BSD hosts running GNU sed (for instance OSX with Macports), it cleaning
nfs shares couldn't happen.
Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2010-12-14 21:58:29 -08:00
Mitchell Hashimoto
11e775b03b
Retry on TypeError for NFS cleanup, which seems to happen during Kernel#system
2010-09-30 01:39:05 -07:00
Mitchell Hashimoto
0fcc1150c5
Revert "Instead of using Kernel#system, use custom piped solution"
...
This reverts commit 171f4184c0
.
2010-09-29 23:38:07 -07:00
Mitchell Hashimoto
171f4184c0
Instead of using Kernel#system, use custom piped solution
2010-09-27 18:26:42 -07:00
Mitchell Hashimoto
2e3be3789e
More documentation and fixed some YARD warnings
2010-09-23 09:53:18 -07:00
Mitchell Hashimoto
d003cc4f32
UI methods no longer automatically translate. Makes it easier for plugin developers.
2010-09-21 18:12:24 -06:00
Mitchell Hashimoto
6db1afff04
Get rid of redundant retries, switch to retryable
2010-09-09 00:37:54 -07:00
Mitchell Hashimoto
eee7ced10b
Hosts use I18n
2010-08-27 20:53:04 -07:00
Mitchell Hashimoto
a699122260
No more logger usage for outputting to the shell
2010-08-25 22:38:24 -07:00
Mitchell Hashimoto
b48b0cb299
NFS cleanup no longer errors if /etc/exports doesn't exist. [closes GH-126]
2010-07-30 09:38:45 -07:00
Mitchell Hashimoto
14e7ff8d00
Flush all log output and sleep a bit for NFS export warning [closes GH-119]
2010-07-24 00:30:20 -07:00
Mitchell Hashimoto
f8909dcbfa
Fix `sed` calls for linux and add proper options for the UID/GID mapping.
2010-07-17 09:58:30 -07:00
Mitchell Hashimoto
67b23be473
Linux NFS support (host)
2010-07-17 09:35:43 -07:00
Mitchell Hashimoto
302bc348d3
Retry the BSD#nfs? call at least 10 times if a weird TypeError is raised
2010-07-16 22:00:49 -07:00
Mitchell Hashimoto
dc5a1be320
NFS cleanup on BSD host
2010-07-13 22:30:54 -07:00
Mitchell Hashimoto
18d04e8aa3
Checking for NFS no longer outputs things
2010-07-13 21:41:29 -07:00
Mitchell Hashimoto
7e9b75f939
Rescue TypeError when checking for NFS and return false [closes GH-109]
2010-07-13 20:30:24 -07:00
Mitchell Hashimoto
e158a01d69
BSD host properly tests for `nfsd` binary
2010-07-12 22:41:41 -07:00
Mitchell Hashimoto
ba78ea86c1
Restart NFSd after exporting
2010-07-12 22:37:24 -07:00
Mitchell Hashimoto
9f4950375e
Host NFS export
2010-07-12 22:10:17 -07:00
Mitchell Hashimoto
de38af8111
Pass guest IP along to the Host#nfs_export function
2010-07-12 21:43:31 -07:00
Mitchell Hashimoto
6887f08bf7
Get host IP on NFS middleware and call proper system methods
2010-07-11 21:33:49 -07:00
Mitchell Hashimoto
30e8b3b8ce
NFS middleware interface complete. Implemention on host not yet done.
2010-07-11 10:58:17 -07:00
Mitchell Hashimoto
1e92f0d58f
Started on NFS middleware
2010-07-11 09:44:18 -07:00
Mitchell Hashimoto
e2badeb9e1
Concepts of "Hosts" introduced, preparing for host-specific behavior.
2010-07-10 22:07:10 -07:00