I get two integer's passed into a puppet class and I want to loop over resources based on the range of integers between the two. I can't quite figure out the syntax to do so. The best I have is similar to the following:
e.g.
$start_int=4
$end_int=15
$end_int.each |$number| { if $number >= $start_int {...} }
Is there a better way to loop over a given integer range?