copied over whole opscode cookbook for php