Hello
Puts the machines into maintenance mode.
I want to execute sleep for 1 hour.
Revert the machines from maintenance mode.
Thanks
Raghuram


On Thu, Sep 3, 2020, 12:12 PM Bart-Jan Vrielink <[email protected]>
wrote:

> 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 <[email protected]>
> *Sent:* Thursday 3rd September 2020 7:17
> *To:* Puppet Users <[email protected]>
> *Subject:* [Puppet Users] Reg: Calling the sleep method
>
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/5ed25917-527c-49b9-97c4-a90dc4d717e5n%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/5ed25917-527c-49b9-97c4-a90dc4d717e5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/zarafa.5f509049.60e5.2bcfbcfe014212fa%40anjie.dontpanic.nl
> <https://groups.google.com/d/msgid/puppet-users/zarafa.5f509049.60e5.2bcfbcfe014212fa%40anjie.dontpanic.nl?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAFfXrByoTfQu%3D-GuQH_1U_PfWmfz4PZXdy0%3Dm-vWPgbXW2CVUQ%40mail.gmail.com.

Reply via email to