From 678ffa60dc17a5df2b215c0acea1b16f44370575 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 13 Oct 2021 11:39:50 -0700 Subject: [PATCH] Add state bag argument to dummy capability --- plugins/hosts/void/cap/dummy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/hosts/void/cap/dummy.rb b/plugins/hosts/void/cap/dummy.rb index 40d79b285..2797d6e7c 100644 --- a/plugins/hosts/void/cap/dummy.rb +++ b/plugins/hosts/void/cap/dummy.rb @@ -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