9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/vagrant-command-dns/command/route53/create.rb', line 9
def execute
opts = OptionParser.new do |o|
o.banner = 'Usage: vagrant dns route53 create'
o.separator ''
o.separator 'Additional documentation can be found on the plugin homepage'
o.separator ''
end
argv = parse_options(opts)
return if !argv
with_target_vms(argv) do |machine|
@env.action_runner.run(Action::Route53.route53_create, {
machine: machine,
ui: Vagrant::UI::Prefixed.new(@env.ui, 'dns route53'),
})
end
0
end
|