Skip to content

Commit

Permalink
Update defaults to 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Jan 10, 2025
1 parent ccac047 commit ef54679
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ class { 'opensearch':
}
class { 'graylog::repository':
version => '5.1'
version => '6.1'
}->
class { 'graylog::server':
package_version => '5.1.0-6',
package_version => '6.1.5-2',
config => {
'password_secret' => '...', # Fill in your password secret
'root_password_sha2' => '...', # Fill in your root password hash
Expand All @@ -114,7 +114,7 @@ class { 'graylog::server':

```puppet
class { '::graylog::repository':
version => '5.1'
version => '6.1'
}->
class { '::graylog::server':
config => {
Expand Down Expand Up @@ -171,7 +171,7 @@ version.

It defaults to `$graylog::params::major_version`.

Example: `version => '5.1'`
Example: `version => '6.1'`

##### `url`

Expand Down Expand Up @@ -210,7 +210,7 @@ This setting is used to choose the Graylog package version. It defaults to
install time. You can also use `latest` so it will always update to the latest
stable version if a new one is available.

Example: `package_version => '5.1.0-6'`
Example: `package_version => '6.1.5-2'`

##### `config`

Expand Down Expand Up @@ -324,7 +324,7 @@ Example:

```
graylog => {
major_version => '5.1',
major_version => '6.1',
config => {
# ... see graylog::server description for details
},
Expand Down
4 changes: 2 additions & 2 deletions manifests/allinone.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
) inherits graylog::params {
class { 'mongodb::globals':
manage_package_repo => true,
version => '5.0.19',
version => '5.0.30',
}
-> class { 'mongodb::server':
bind_ip => ['127.0.0.1'],
Expand All @@ -13,7 +13,7 @@
if 'version' in $opensearch {
$opensearch_version = $opensearch['version']
} else {
$opensearch_version = '2.9.0'
$opensearch_version = '2.15.0'
}

class { 'opensearch':
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class graylog::params {
$major_version = '5.1'
$major_version = '6.1'
$package_name = 'graylog-server'
$package_version = 'installed'

Expand Down
4 changes: 2 additions & 2 deletions tests/vagrant.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

class { 'graylog::allinone':
opensearch => {
version => '2.9.0',
version => '2.15.0',
settings => {
'action.auto_create_index' => false,
'plugins.security.ssl.http.enabled' => false,
'plugins.security.disabled' => true,
},
},
graylog => {
major_version => '5.1',
major_version => '6.1',
config => {
'password_secret' => '16BKgz0Qelg6eFeJYh8lc4hWU1jJJmAgHlPEx6qkBa2cQQTUG300FYlPOEvXsOV4smzRtnwjHAKykE3NIWXbpL7yGLN7V2P2',
'root_password_sha2' => '8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918',
Expand Down

0 comments on commit ef54679

Please sign in to comment.