Module: VagrantPlugins::HostsProvisioner::Action

Includes:
Vagrant::Action::Builtin
Defined in:
lib/vagrant-servant-hosts-provisioner/action.rb,
lib/vagrant-servant-hosts-provisioner/action/add.rb,
lib/vagrant-servant-hosts-provisioner/action/remove.rb

Defined Under Namespace

Classes: Add, Remove

Class Method Summary collapse

Class Method Details

.addObject



9
10
11
12
13
14
# File 'lib/vagrant-servant-hosts-provisioner/action.rb', line 9

def self.add
  Vagrant::Action::Builder.new.tap do |builder|
    builder.use ConfigValidate
    builder.use Add
  end
end

.removeObject



16
17
18
19
20
21
# File 'lib/vagrant-servant-hosts-provisioner/action.rb', line 16

def self.remove
  Vagrant::Action::Builder.new.tap do |builder|
    builder.use ConfigValidate
    builder.use Remove
  end
end