Oh I see thanks for the clarification
Cheers
Raghuram Baisani
On Thu, Feb 4, 2021, 5:55 PM Kevin Reeuwijk
wrote:
> Hi Raghuram,
>
> The short of it is that you can't make that work in a Task, the Bolt Task
> environment is simply not designed for this. You have to use a plan.
> You can have the
Hi Raghuram,
The short of it is that you can't make that work in a Task, the Bolt Task
environment is simply not designed for this. You have to use a plan.
You can have the Plan call the function and pass the results as parameters
to your Task though:
plan mymodule::test {
$func_result = mymodule
Thanks Kevin
I'm kind of aware of plan option.
Can you please detail the option for task with an example so that I can
know how it works.
Cheers
Raghuram Baisani
On Thu, Feb 4, 2021 at 5:12 PM KevinR wrote:
> Hi Raghuram,
>
> this cannot be (easily) achieved from a Task, as the Task execution