Bad random...
See here: http://docs.opscode.com/essentials_cookbook_templates.html