Skip to content

Commit

Permalink
Replace deprecated "is_master" flag with "is_leader"
Browse files Browse the repository at this point in the history
Fixes #57
  • Loading branch information
bernd committed Aug 14, 2023
1 parent 6c15d5a commit 2ac5f20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -238,7 +238,7 @@ Example:
config => {
'password_secret' => '...',
'root_password_sha2' => '...',
'is_master' => true,
'is_leader' => true,
'output_batch_size' => 2500,
}
```
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 2ac5f20

Please sign in to comment.