From 2ac5f2096f498bb7040c7d543ce4f047a1fb0042 Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Mon, 14 Aug 2023 09:50:39 +0200 Subject: [PATCH] Replace deprecated "is_master" flag with "is_leader" Fixes #57 --- README.md | 4 ++-- manifests/params.pp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf44849..abe68a0 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ class { '::graylog::repository': }-> class { '::graylog::server': config => { - is_master => true, + is_leader => true, node_id_file => '/etc/graylog/server/node-id', password_secret => 'password_secret', root_username => 'admin', @@ -238,7 +238,7 @@ Example: config => { 'password_secret' => '...', 'root_password_sha2' => '...', - 'is_master' => true, + 'is_leader' => true, 'output_batch_size' => 2500, } ``` diff --git a/manifests/params.pp b/manifests/params.pp index 96a4540..52526dd 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -9,7 +9,7 @@ 'data_dir' => '/var/lib/graylog-server', 'plugin_dir' => '/usr/share/graylog-server/plugin', 'message_journal_dir' => '/var/lib/graylog-server/journal', - 'is_master' => true, + 'is_leader' => true, } $server_user = 'graylog'