cookbook fixed to work with ubuntu 12.04