Enable discovery of es server and provide cross distro compatibility for Apache

Elasticsearch server is discovered by es_role attribute
Using Apache2 web_app definition to create template as /etc/apache2 location is debian/ubuntu specific