Re: [Puppet Users] Re: Puppetserver performance plummeting a few hours after startup

2020-02-10 Thread Kevin Reeuwijk
, 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

Re: [Puppet Users] Re: puppet bolt templates ??

2020-02-11 Thread Kevin Reeuwijk
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:

Re: [Puppet Users] Re: Calling a puppet function inside a ruby task

2021-02-04 Thread Kevin Reeuwijk
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