Finally http://devopsanywhere.blogspot.com/2012/11/how-to-write-reusable-chef-cookbooks.html gives me some details...