Ask Your Question

Revision history [back]

Future Parser has an iterator now

https://docs.puppetlabs.com/puppet/3/reference/experiments_lambdas.html

$mustseemovies = ['interstellar','hobbit','hunger games']
each($mustseemovies) |$movie| { notice "Go see ${movie} Now! " }