Class: MelissaData::VagrantPlugin::Command

Inherits:
Vagrant::Command::GroupBase
  • Object
show all
Defined in:
lib/melissadata/vagrant_plugin/command.rb

Instance Method Summary collapse

Instance Method Details

#installObject



7
8
9
10
11
# File 'lib/melissadata/vagrant_plugin/command.rb', line 7

def install
  target_vms.each do |vm|
    vm.env.actions.run(:md_install)
  end
end

#updateObject



14
15
16
17
18
# File 'lib/melissadata/vagrant_plugin/command.rb', line 14

def update
  target_vms.each do |vm|
    vm.env.actions.run(:md_update)
  end
end

#uploadObject



21
22
23
24
25
# File 'lib/melissadata/vagrant_plugin/command.rb', line 21

def upload
  target_vms.each do |vm|
    vm.env.actions.run(:md_upload)
  end
end