Class | Rake::RemoteTask |
In: |
lib/rake_remote_task.rb
|
Parent: | Rake::Task |
Rake::RemoteTask is a subclass of Rake::Task that adds remote_actions that execute in parallel on multiple hosts via ssh.
enhance | -> | original_enhance |
Add a local action to this task. This calls Rake::Task#enhance. |
Set environment variable name to value or default_block.
If default_block is defined, the block will be executed the first time the variable is fetched, and the value will be used for every subsequent fetch.
Sets all the default values. Should only be called once. Use reset if you need to restore values.
Add remote action block to this task with dependencies deps. See Rake::Task#enhance.
Execute this action. Local actions will be performed first, then remote actions will be performed in parallel on each host configured for this RemoteTask.