title: Create file using template.erb
body: <p>I am fairly new to ruby and chef, I wanted to know if there is a way to create a file using a template? I tried searching about it but couldn't find much stuff. Am try to create a blacklist file and insert some regex into it via chef. So I wanted to add the attributes and use a <code>template.erb</code> to create the file while running chef. Any hints, pointers?</p>