- ensure java is installed before trying to install logstash as the postinstall script is failing if not
- add missing dependencies and notification between the logstash package, the configuration and the service
- Restart the service in case of notification change
- code format
As a side effect, it will install jdk11 on the production server
Related to T2787