Puppet Function: choria::sleep
- Defined in:
- lib/puppet/functions/choria/sleep.rb
- Function type:
- Ruby 4.x API
Overview
Sleep for N seconds
2 3 4 5 6 7 8 9 10 |
# File 'lib/puppet/functions/choria/sleep.rb', line 2 Puppet::Functions.create_function(:"choria::sleep") do dispatch :do_sleep do param "Integer", :seconds end def do_sleep(seconds) sleep(seconds) end end |