Skip to content

Commit

Permalink
caps: make guests subdir for capabilities
Browse files Browse the repository at this point in the history
This will enable us to make host capabilities in a different subdir.
  • Loading branch information
dustymabe committed Jul 28, 2016
1 parent d8644b8 commit f0dbca9
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 13 additions & 13 deletions lib/vagrant-sshfs/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,67 +21,67 @@ class Plugin < Vagrant.plugin("2")
end

guest_capability("linux", "sshfs_mount_folder") do
require_relative "cap/linux/sshfs_mount"
require_relative "cap/guest/linux/sshfs_mount"
VagrantPlugins::GuestLinux::Cap::MountSSHFS
end

guest_capability("linux", "sshfs_unmount_folder") do
require_relative "cap/linux/sshfs_mount"
require_relative "cap/guest/linux/sshfs_mount"
VagrantPlugins::GuestLinux::Cap::MountSSHFS
end

guest_capability("linux", "sshfs_is_folder_mounted") do
require_relative "cap/linux/sshfs_mount"
require_relative "cap/guest/linux/sshfs_mount"
VagrantPlugins::GuestLinux::Cap::MountSSHFS
end

guest_capability("redhat", "sshfs_installed") do
require_relative "cap/redhat/sshfs_client"
require_relative "cap/guest/redhat/sshfs_client"
VagrantPlugins::GuestRedHat::Cap::SSHFSClient
end

guest_capability("redhat", "sshfs_install") do
require_relative "cap/redhat/sshfs_client"
require_relative "cap/guest/redhat/sshfs_client"
VagrantPlugins::GuestRedHat::Cap::SSHFSClient
end

guest_capability("fedora", "sshfs_installed") do
require_relative "cap/fedora/sshfs_client"
require_relative "cap/guest/fedora/sshfs_client"
VagrantPlugins::GuestFedora::Cap::SSHFSClient
end

guest_capability("fedora", "sshfs_install") do
require_relative "cap/fedora/sshfs_client"
require_relative "cap/guest/fedora/sshfs_client"
VagrantPlugins::GuestFedora::Cap::SSHFSClient
end

guest_capability("debian", "sshfs_installed") do
require_relative "cap/debian/sshfs_client"
require_relative "cap/guest/debian/sshfs_client"
VagrantPlugins::GuestDebian::Cap::SSHFSClient
end

guest_capability("debian", "sshfs_install") do
require_relative "cap/debian/sshfs_client"
require_relative "cap/guest/debian/sshfs_client"
VagrantPlugins::GuestDebian::Cap::SSHFSClient
end

guest_capability("arch", "sshfs_installed") do
require_relative "cap/arch/sshfs_client"
require_relative "cap/guest/arch/sshfs_client"
VagrantPlugins::GuestArch::Cap::SSHFSClient
end

guest_capability("arch", "sshfs_install") do
require_relative "cap/arch/sshfs_client"
require_relative "cap/guest/arch/sshfs_client"
VagrantPlugins::GuestArch::Cap::SSHFSClient
end

guest_capability("suse", "sshfs_installed") do
require_relative "cap/suse/sshfs_client"
require_relative "cap/guest/suse/sshfs_client"
VagrantPlugins::GuestSUSE::Cap::SSHFSClient
end

guest_capability("suse", "sshfs_install") do
require_relative "cap/suse/sshfs_client"
require_relative "cap/guest/suse/sshfs_client"
VagrantPlugins::GuestSUSE::Cap::SSHFSClient
end

Expand Down

0 comments on commit f0dbca9

Please sign in to comment.