[COOK-3653] changed template attribute to kind_of String

https://tickets.opscode.com/browse/COOK-3653

The source attribute in template is kind_of String, here the corresponding template attribute is bound to a wrong regex.