facts, class to stop failing rspec tests

Adds a fact to stop failing rspec tests
Adds a pre_condition to define the elasticsearch config with the minimum required settings so that 'include elasticsearch' doesn't fail.