Sha256: b47a58ec36df18006bc8b95ba9c908da845ef3abb544bf8f8947e2a030827441

Contents?: true

Size: 513 Bytes

Versions: 29

Compression:

Stored size: 513 Bytes

Contents

require "vagrant"

require 'vagrant/util/platform'

module VagrantPlugins
  module HostWindows
    class Host < Vagrant.plugin("2", :host)
      def detect?(env)
        Vagrant::Util::Platform.windows?
      end

      # @return [Pathname] Path to scripts directory
      def self.scripts_path
        Pathname.new(File.expand_path("../scripts", __FILE__))
      end

      # @return [Pathname] Path to modules directory
      def self.modules_path
        scripts_path.join("utils")
      end
    end
  end
end

Version data entries

29 entries across 25 versions & 4 rubygems

Version Path
vagrant-unbundled-2.2.0.0 plugins/hosts/windows/host.rb
vagrant-unbundled-2.1.4.0 plugins/hosts/windows/host.rb
vagrant-unbundled-2.1.2.0 plugins/hosts/windows/host.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/hosts/windows/host.rb