Class: Vagrant::Plugin::Remote::Plugin

Inherits:
V2::Plugin
  • Object
show all
Defined in:
lib/vagrant/plugin/remote/plugin.rb

Overview

This is the wrapper class for all Remote plugins.

Constant Summary collapse

LOGGER =

The logger for this class.

Log4r::Logger.new("vagrant::plugin::remote::plugin")
ROOT_CLASS =

Set the root class up to be ourself, so that we can reference this from within methods which are probably in subclasses.

self

Constants inherited from V2::Plugin

V2::Plugin::ALL_ACTIONS

Class Method Summary collapse

Methods inherited from V2::Plugin

action_hook, command, communicator, components, config, data, description, disable_remote_manager, enable_remote_manager, guest, guest_capability, host, host_capability, local_manager, name, provider, provider_capability, provisioner, push, remote_manager, synced_folder, synced_folder_capability

Class Method Details

.managerRemote::Manager

This returns the manager for all Remote plugins.

Returns:



20
21
22
23
# File 'lib/vagrant/plugin/remote/plugin.rb', line 20

def self.manager
  LOGGER.debug("Returning remote manager from plugin")
  @manager ||= Vagrant::Plugin::Remote::Manager.new
end