Module: VagrantPlugins::DnsUpdater::Action
- Includes:
- Vagrant::Action::Builtin
- Defined in:
- lib/vagrant-dns-updater/action.rb,
lib/vagrant-dns-updater/action/set_dns_record.rb,
lib/vagrant-dns-updater/action/remove_dns_record.rb
Defined Under Namespace
Classes: RemoveDnsRecord, SetDnsRecord
Class Method Summary
collapse
Class Method Details
.remove_dns_record ⇒ Object
16
17
18
19
20
21
|
# File 'lib/vagrant-dns-updater/action.rb', line 16
def self.remove_dns_record
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use RemoveDnsRecord
end
end
|
.set_dns_record ⇒ Object
9
10
11
12
13
14
|
# File 'lib/vagrant-dns-updater/action.rb', line 9
def self.set_dns_record
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use SetDnsRecord
end
end
|