Module: VagrantPlugins::CommandDns::Action::Host

Defined in:
lib/vagrant-command-dns/action/host.rb,
lib/vagrant-command-dns/action/host/create.rb,
lib/vagrant-command-dns/action/host/destroy.rb

Defined Under Namespace

Classes: Create, Destroy

Class Method Summary collapse

Class Method Details

.host_createObject



8
9
10
11
12
13
14
# File 'lib/vagrant-command-dns/action/host.rb', line 8

def self.host_create
  Vagrant::Action::Builder.new.tap do |b|
    b.use Action::ConfigValidate
    b.use Action::GetIP
    b.use Host::Create
  end
end

.host_destroyObject



16
17
18
19
20
21
22
# File 'lib/vagrant-command-dns/action/host.rb', line 16

def self.host_destroy
  Vagrant::Action::Builder.new.tap do |b|
    b.use Action::ConfigValidate
    b.use Action::GetIP
    b.use Host::Destroy
  end
end