Updated to use the apt cookbook (thanks @benjaminws).