Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default 90 day bucket retention #71

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/puppet/type/influxdb_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
desc: 'Rules to determine retention of data inside the bucket',
default: [{
'type' => 'expire',
'everySeconds' => 0,
'everySeconds' => 7_776_000,
'shardGroupDurationSeconds' => 604_800,
}]
},
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
unless $host == $facts['networking']['fqdn'] or $host == $facts['networking']['hostname'] or $host == 'localhost' {
fail(
@("MSG")
Unable to manage InfluxDB installation on host: ${host}.
Unable to manage InfluxDB installation on host: ${host}.
Management of repos, packages and services etc is only possible on the local host (${facts['networking']['fqdn']}).
| MSG
)
Expand Down
2 changes: 2 additions & 0 deletions manifests/profile/toml.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# @summary Installs the toml-rb gem inside Puppet server
# @example Basic usage
# include influxdb::profile::toml
# @param version
# Version of the toml-rb gem to install
class influxdb::profile::toml (
String $version = '2.1.1',
) {
Expand Down
Loading