Fixed issues with puppet 3 and openjdk 7 on ubuntu