Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created October 14, 2011 00:34
Show Gist options
  • Save bodepd/1285921 to your computer and use it in GitHub Desktop.
Save bodepd/1285921 to your computer and use it in GitHub Desktop.
$rand = inline_template("<%= (0...8).map{65.+(rand(25)).chr}.join %>")
notice($rand)
file { '/tmp/foo':
replace => false,
content => $rand
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment