Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created April 1, 2012 17:15
Show Gist options
  • Save kwilczynski/2277148 to your computer and use it in GitHub Desktop.
Save kwilczynski/2277148 to your computer and use it in GitHub Desktop.
Variation on Puppet's range function -- numeric
matti@acrux ~/reject $ RUBYLIB=. cat - | puppet apply 2> /dev/null
notice range(1, 10)
notice: Scope(Class[main]): 1 2 3 4 5 6 7 8 9 10
notice: Finished catalog run in 0.04 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment