Skip to content

Commit

Permalink
Merge pull request #71 from m0dular/bucket_retention_default
Browse files Browse the repository at this point in the history
Add default 90 day bucket retention
  • Loading branch information
elainemccloskey authored Feb 14, 2023
2 parents 5f058eb + 513bbba commit a828cf1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 398 deletions.
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

0 comments on commit a828cf1

Please sign in to comment.