diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-26 16:43:13 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-26 16:43:13 +0200 |
commit | 3a74252174a15c26886b95985efc3b0ed5c18ee4 (patch) | |
tree | 4358bee94c5c7bfcc643bf70cf0c90ca45e29bd5 | |
parent | Add elasticsearch and kibana. (diff) | |
download | profiles-3a74252174a15c26886b95985efc3b0ed5c18ee4.tar.gz profiles-3a74252174a15c26886b95985efc3b0ed5c18ee4.tar.xz |
Elastic and Kibana configuration.
-rw-r--r-- | manifests/elasticsearch.pp | 1 | ||||
-rw-r--r-- | manifests/kibana.pp | 4 |
2 files changed, 5 insertions, 0 deletions
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}", + } } } |