guests/*: setup rsync_pre properly

This commit is contained in:
Mitchell Hashimoto 2014-05-06 18:40:55 -07:00
parent 25589e509e
commit 326e8012f7
7 changed files with 35 additions and 0 deletions

View File

@ -51,6 +51,11 @@ module VagrantPlugins
Cap::RSync
end
guest_capability("darwin", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("darwin", "shell_expand_guest_path") do
require_relative "cap/shell_expand_guest_path"
Cap::ShellExpandGuestPath

View File

@ -56,6 +56,11 @@ module VagrantPlugins
Cap::RSync
end
guest_capability("linux", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("freebsd", "shell_expand_guest_path") do
require_relative "cap/shell_expand_guest_path"
Cap::ShellExpandGuestPath

View File

@ -77,6 +77,11 @@ module VagrantPlugins
Cap::RSync
end
guest_capability("linux", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("linux", "unmount_virtualbox_shared_folder") do
require_relative "cap/mount_virtualbox_shared_folder"
Cap::MountVirtualBoxSharedFolder

View File

@ -56,6 +56,11 @@ module VagrantPlugins
Cap::RSync
end
guest_capability("netbsd", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("netbsd", "shell_expand_guest_path") do
require_relative "cap/shell_expand_guest_path"
Cap::ShellExpandGuestPath

View File

@ -56,6 +56,11 @@ module VagrantPlugins
Cap::RSync
end
guest_capability("openbsd", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("openbsd", "shell_expand_guest_path") do
require_relative "cap/shell_expand_guest_path"
Cap::ShellExpandGuestPath

View File

@ -50,6 +50,11 @@ module VagrantPlugins
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("smartos", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
end
end
end

View File

@ -50,6 +50,11 @@ module VagrantPlugins
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("solaris", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
end
end
end