updated cookbooks working for ubuntu 11, 12