From 3a74252174a15c26886b95985efc3b0ed5c18ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 26 Apr 2023 16:43:13 +0200 Subject: Elastic and Kibana configuration. --- manifests/elasticsearch.pp | 1 + manifests/kibana.pp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/manifests/elasticsearch.pp b/manifests/elasticsearch.pp index 525e228..2a9bdd9 100644 --- a/manifests/elasticsearch.pp +++ b/manifests/elasticsearch.pp @@ -4,5 +4,6 @@ class profiles::elasticsearch ( class { 'elasticsearch': restart_on_change => true, + api_host => '0.0.0.0', } } diff --git a/manifests/kibana.pp b/manifests/kibana.pp index 23f9857..fe66b72 100644 --- a/manifests/kibana.pp +++ b/manifests/kibana.pp @@ -2,6 +2,10 @@ class profiles::kibana ( ) { class { 'kibana': + config => { + 'server.host' => '0.0.0.0', + 'server.publicBaseUrl' => "http://${::fqdn}", + } } } -- cgit v1.2.3