Elasticsearch needs java before it will work

This worked before because the elasticsearch package specified java as a
dependency, but the package install now wont work without the puppet
class.