Module: CORL::Vagrant
- Defined in:
- lib/core/vagrant/config.rb,
lib/core/plugin/cloud_action.rb
Defined Under Namespace
Modules: Config
Constant Summary collapse
- @@command =
Since we can execute CORL actions from within Vagrant on a combination of Vagrant VMs and remote server instances we need a way to tap into the Vagrant environment and operate on CORL configured Vagrant machines.
This command is set in the CORL launcher Vagrant command plugin execute method. It is then accessible anywhere within CORL if we have used that Vagrant command as an execution gateway. If not it will be nil, giving us a convienient method for checking whether we are executing through Vagrant which is used in the CORL Vagrant Node and Machine plugins.
nil
Class Method Summary collapse
Class Method Details
.command ⇒ Object
22 23 24 |
# File 'lib/core/plugin/cloud_action.rb', line 22 def self.command @@command end |
.command=(command) ⇒ Object
18 19 20 |
# File 'lib/core/plugin/cloud_action.rb', line 18 def self.command=command @@command = command end |