Commit 9f414b76 authored by Walter Heck's avatar Walter Heck

Make elastic only listen on localhost to make sure security is tight.

parent d6ee9d21
Pipeline #351 passed with stages
in 2 minutes and 37 seconds
......@@ -6,7 +6,7 @@ opstheater::profile::elasticsearch::instances:
ensure: present
status: enabled
config:
network.host: "%{hiera('opstheater::elasticsearch::fqdn')}"
network.host: "127.0.0.1"
http.port: '9200'
opstheater::profile::logstash::plugins:
'logstash-input-beats':
......@@ -21,4 +21,4 @@ opstheater::profile::logstash::input_beats_port: '5044'
opstheater::profile::logstash::input_beats_type: 'logs'
opstheater::profile::logstash::output_codec: 'rubydebug'
opstheater::profile::logstash::output_elasticsearch_hosts:
- "elasticsearch:9200"
- "127.0.0.1:9200"
......@@ -293,7 +293,7 @@
# Variable: opstheater::grafana::elasticsearchurl
# Description: the url at which grafana should rech elasticsearch
# Default value: localhost
'opstheater::grafana::elasticsearchurl': "%{hiera('opstheater::elasticsearch::fqdn')}"
'opstheater::grafana::elasticsearchurl': "127.0.0.1"
# Variable: opstheater::grafana::install_method
# Description: the way which grafana should use to be installed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment