Add state bag argument to dummy capability

This commit is contained in:
Chris Roberts 2021-10-13 11:39:50 -07:00 committed by Paul Hinze
parent fc61c27b51
commit 678ffa60dc
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -2,9 +2,9 @@ module VagrantPlugins
module HostVoid
module Cap
class Dummy
def self.dummy(ui, argument)
ui.info "Dummy host cap in ruby runtime, sent argument: #{argument}"
true
def self.dummy(bag, ui, argument)
ui.info "Dummy host cap in ruby runtime, sent argument: `#{argument}' with bag: #{bag}"
"this is a result value string!"
end
end
end