Update to Chef 11 syntax and change java dependency to opsworks_java.