lib/kitchen/driver/vagrant.rb
def verify_winrm_plugin
        if Gem::Version.new(vagrant_version) < Gem::Version.new("1.6")
          raise UserError, "Detected an old version of Vagrant " \
            "(#{vagrant_version}) that cannot support the vagrant-winrm " \
            "Vagrant plugin." \
            " Please upgrade to version 1.6 or higher from #{WEBSITE}."
        end

        if !winrm_plugin_installed?
          raise UserError, "WinRM Transport requires the vagrant-winrm " \
            "Vagrant plugin to properly communicate with this Vagrant VM. " \
            "Please install this plugin with: " \
            "`vagrant plugin install vagrant-winrm' and try again."
        end
      end
# Verify that the vagrant-winrm plugin is installed and a suitable
#   version of Vagrant is installed
#
# @api private
Verify that the vagrant-winrm plugin is installed and a suitable
version of Vagrant is installed
Verify that the vagrant - winrm plugin is installed and a suitable version of Vagrant is installed
def verify_winrm_plugin
        if Gem::Version.new(vagrant_version) < Gem::Version.new("1.6")
          raise UserError, "Detected an old version of Vagrant " \
            "(#{vagrant_version}) that cannot support the vagrant-winrm " \
            "Vagrant plugin." \
            " Please upgrade to version 1.6 or higher from #{WEBSITE}."
        end
        if !winrm_plugin_installed?
          raise UserError, "WinRM Transport requires the vagrant-winrm " \
            "Vagrant plugin to properly communicate with this Vagrant VM. " \
            "Please install this plugin with: " \
            "`vagrant plugin install vagrant-winrm' and try again."
        end
      end
def verify_winrm_plugin if Gem :: Version . new ( vagrant_version ) < Gem :: Version . new ( "1.6" ) raise UserError , "Detected an old version of Vagrant " "(#{vagrant_version}) that cannot support the vagrant-winrm " "Vagrant plugin." " Please upgrade to version 1.6 or higher from #{WEBSITE}." end if ! winrm_plugin_installed? raise UserError , "WinRM Transport requires the vagrant-winrm " "Vagrant plugin to properly communicate with this Vagrant VM. " "Please install this plugin with: " "`vagrant plugin install vagrant-winrm' and try again." end end
Verify that the vagrant-winrm plugin is installed and a suitable
version of Vagrant is installed
Verify that the vagrant - winrm plugin is installed and a suitable version of Vagrant is installed
api
None