What is more it should not be a template because there are no variables. Use cookbook_file instead.