interval
Returns an array of evenly spaced but randomly selected numbers
Version information
released Jan 25th 2013
This module has been deprecated by its author since Mar 28th 2019.
The reason given was: No longer maintained, repo scheduled for deletion
Start using this module
Documentation
ploperations/interval — version 0.0.1 Jan 25th 2013
puppet-interval
Adds a Puppet function to generate array of evenly spaced but randomly selected numbers
Usage:
interval(count, max)
- count: the number of values to return
- max: the upper limit of the random numbers, exclusive
Example:
# Generate three random numbers between 0 and 60
$arr = interval(3, 60)
# => [19, 39, 59]