opscode/cookbooks — pull request #314 by cap10morgan (2012-01-20 17:04:19+00:00)
Title: Fix java openjdk alternatives name in Ubuntu 11.10

It seems that the name you have to pass to update-alternatives for openjdk has changed slightly in Ubuntu 11.10. This patch makes it work there but leaves it alone in other distros / older versions of Ubuntu.