Sha256: 37d67d2002d4326cc5eedafcf233cbf03bdfb36c022fcfd18501d1377282de77

Contents?: true

Size: 1.24 KB

Versions: 19

Compression:

Stored size: 1.24 KB

Contents

require "vagrant"

module VagrantPlugins
  module HostLinux
    class Plugin < Vagrant.plugin("2")
      name "Linux host"
      description "Linux host support."

      host("linux") do
        require_relative "host"
        Host
      end

      host_capability("linux", "nfs_export") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_installed") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_prune") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "rdp_client") do
        require_relative "cap/rdp"
        Cap::RDP
      end

      # Linux-specific helpers we need to determine paths that can
      # be overridden.
      host_capability("linux", "nfs_apply_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_check_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "nfs_start_command") do
        require_relative "cap/nfs"
        Cap::NFS
      end

      host_capability("linux", "set_ssh_key_permissions") do
        require_relative "cap/ssh"
        Cap::SSH
      end
    end
  end
end

Version data entries

19 entries across 15 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.9.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.8.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.7.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.6.2 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.6.1 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.6.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.5.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.4.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.3.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.2.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.2.0.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.1.4.0 plugins/hosts/linux/plugin.rb
vagrant-unbundled-2.1.2.0 plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/linux/plugin.rb