diff --git a/plugins/communicators/winrm/command_filter.rb b/plugins/communicators/winrm/command_filter.rb index eb08631ce..f3ade202d 100644 --- a/plugins/communicators/winrm/command_filter.rb +++ b/plugins/communicators/winrm/command_filter.rb @@ -1,9 +1,7 @@ module VagrantPlugins module CommunicatorWinRM - # Handles loading and applying all available WinRM command filters class CommandFilter - @@cmd_filters = [ "cat", "chmod", @@ -42,7 +40,6 @@ module VagrantPlugins end end end - end end end diff --git a/plugins/communicators/winrm/file_manager.rb b/plugins/communicators/winrm/file_manager.rb index 87a87438c..18ea62786 100644 --- a/plugins/communicators/winrm/file_manager.rb +++ b/plugins/communicators/winrm/file_manager.rb @@ -2,11 +2,9 @@ require "log4r" module VagrantPlugins module CommunicatorWinRM - # Manages the file system on the remote guest allowing for file tranfer # between the guest and host. class FileManager - def initialize(shell) @logger = Log4r::Logger.new("vagrant::communication::filemanager") @shell = shell @@ -39,7 +37,6 @@ module VagrantPlugins IO.binwrite(host_dest_file_path, out) end - private # Recursively uploads the given directory from the host to the guest @@ -160,7 +157,6 @@ module VagrantPlugins :to => to, :message => out.inspect if out[:exitcode] != 0 end - - end #class + end end end