Puppet Function: pulp::daily_schedule
- Defined in:
- functions/daily_schedule.pp
- Function type:
- Puppet Language
Overview
6 7 8 9 10 |
# File 'functions/daily_schedule.pp', line 6 function pulp::daily_schedule(String $seed) >> String { $random_hour = sprintf('%02d', fqdn_rand(23, $seed)) $random_minute = sprintf('%02d', fqdn_rand(59, $seed)) "2000-01-01T${random_hour}:${random_minute}Z/P1D" } |