, this will cause excessive CPU usage for calculating the MD5 hash of
the file each puppet run:
file { 'huge_file.exe':
source => 'puppet:///modules/my_module/huge_file.exe'
ensure => present
}
Kind regards,
*Kevin Reeuwijk*
Principal Sales Engineer, NEMEA
mob
Kind regards,
*Kevin Reeuwijk*
Principal Sales Engineer, NEMEA
mobile: +31 6 272 33 55 1
kev...@puppet.com | @KevinReeuwijk
*Puppet <http://www.puppet.com>. The shortest path to better software.*
On Tue, Feb 11, 2020 at 4:33 PM Alex Dreyer wrote:
>
>
> On Tue, Feb 11, 2020 at 7:
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