RE: [Puppet Users] Reg: Calling the sleep method

2020-09-02 Thread Bart-Jan Vrielink
Hello, No. The try_sleep parameter defines the time to sleep between tries. The default value of tries is 1. What are you trying to achieve? -Original message- From: Raghu Ram BaisaniĀ  Sent: Thursday 3rd September 2020 7:17 To: Puppet Users Subject: [Puppet Users] Reg: Calling th

[Puppet Users] Reg: Calling the sleep method

2020-09-02 Thread Raghu Ram Baisani
Hi Team If I put: *$mainttime_converted = 100* *exec{ 'maintenance_time':* * try_sleep => $mainttime_converted* * }* will this be in sleep state for 100 seconds? Thanks Raghuram Baisani -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubs

[Puppet Users] Facter 4.0.36 is now available

2020-09-02 Thread Andrei Filipovici
Hello, The Facter team is happy to announce the release of Facter 4.0.36 Here's what changed: Added - (FACT-2747) Add missing legacy facts on all platforms #2034 - (FACT-2721) Added Sola

Re: [Puppet Users] can we call the puppet task/plan from puppet profile ?

2020-09-02 Thread Jesse Reynolds
Hi Vinay, This is pretty horrible but you can do something like this: exec { 'bolt task run foo::bar -t localhost': path => '/opt/puppetlabs/bolt/bin:/usr/bin', creates => '/some/path', } but at that point you may as well exec the task's script directly. The above assumes the task has alread