Add puppet module for elasticsearch

Original source 'https://github.com/electrical/puppet-elasticsearch'

Partial-blueprint: logstash-elasticsearch-kibana-for-logs

Change-Id: I00f7c32ef0a8d822cbaae64e9ffa01ff7a3275b2
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Add puppet-logstash module

- Fix packages for libzmq1
- Extend jarfile to package provider for logstash
- Module was initially reused from the Apollo11 team
(412499b - Bartosz Kupidura, 9 months ago : Heap_size as a parameter for logstash/init.pp)
(21abbc7 - Bartosz Kupidura, 9 months ago : Logstash module for PP)
Original source 'https://github.com/electrical/puppet-logstash'

Partial-blueprint: logstash-elasticsearch-kibana-for-logs

Change-Id: I4e85576ce0930238450488607987a4d7518edb1f
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Add alpha support for Logstash with Elasticsearch and Kibana

* Add openstack::logfilter class for logstash
  - Install and configure logstash, elasticsearch, kibana by its templates (default is fuel node)
  - Provide rsyslog client sided templates for logstash remote logging as well as rsyslog ones
  - Assume logstash defaults fuel:55514, udp - for anaconda logs capturing
    (thus, logstash non-defaults should not be used for now)
  - Use paragraph based message detection for rabbitmq (imfile)
  - Use user facility and line based (default) message detection for openstack DEBUG (imfile)
  - Ensure new logfiles introduced for logstash and elasticsearch are rotated
* Del config template for elasticsearch
* Remove double declaration, delegate templating to openstack::logfilter
* Skip paramedic plugin for elasticsearch
* Add cluster_name for elasticsearch, fix templates
* Change firewall rules for logstash
* Rename tag for non aplha numerical program names
* Send anaconda logs to logstash as well (Assume logstash node is fuel:55514, udp)
* Add grok tags for rfc5424 (bootstrap/anaconda)
* Fix rfc3164 pattern to make simicolon optional
* Fix grok pattern for debug case
* Fix kibana service and notification
* Restore class var debug were missed
* Extend rfc5424 grok pattern to match hostnames in message
* Fix config requirements and services notifications for logfilter
* Assume base syslog node (fuel master) is the logstash node
* Use tcp instead of udp
* Add grok pattern for netcatted logs
* Imrove stability of grok regexes
* Fix excluded tags and spaces parsing
* Fix logging class defaults and broken spacing
* Fix firewall rules and dependencies for Logstash/ES
* Fix missed params, java ver. and package install for logstash
* ES 1.0.1: Add and ensure access for ES_DIRECTORY param (TODO revert cuz no need for v0.90.0)
* Fix proto and Rabbit syslog facility usage for logstash rsyslog template

Implements-blueprint: logstash-elasticsearch-kibana-for-logs
Depends on 80025, 80024, OSCI-(todo)

Change-Id: I800049aa2d1102880c95ac49824bb655334411f3
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>