Skip to content

Commit

Permalink
Merge pull request #755 from voxpupuli/renovate/percona-mongodb_expor…
Browse files Browse the repository at this point in the history
…ter-0.x

Update dependency percona/mongodb_exporter to v0.40.0
  • Loading branch information
bastelfreak authored Jun 30, 2024
2 parents a6c7d90 + 261e969 commit 5784e22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6544,7 +6544,7 @@ Data type: `String[1]`

The binary release version

Default value: `'0.20.4'`
Default value: `'0.40.0'`

##### <a name="-prometheus--mongodb_exporter--use_kingpin"></a>`use_kingpin`

Expand Down
2 changes: 1 addition & 1 deletion manifests/mongodb_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
String[1] $service_name = 'mongodb_exporter',
String[1] $user = 'mongodb-exporter',
# renovate: depName=percona/mongodb_exporter
String[1] $version = '0.20.4',
String[1] $version = '0.40.0',
Boolean $use_kingpin = true,
Boolean $purge_config_dir = true,
Boolean $restart_on_change = true,
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/mongodb_exporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
context 'with version specified' do
let(:params) do
{
version: '0.20.4',
version: '0.40.0',
arch: 'amd64',
os: 'linux',
bin_dir: '/usr/local/bin',
Expand All @@ -25,7 +25,7 @@
end

describe 'install correct binary' do
it { is_expected.to contain_file('/usr/local/bin/mongodb_exporter').with('target' => '/opt/mongodb_exporter-0.20.4.linux-amd64/mongodb_exporter') }
it { is_expected.to contain_file('/usr/local/bin/mongodb_exporter').with('target' => '/opt/mongodb_exporter-0.40.0.linux-amd64/mongodb_exporter') }
end
end
end
Expand Down

0 comments on commit 5784e22

Please sign in to comment.