Skip to content

Commit

Permalink
Update burrow_exporter.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Oct 4, 2024
1 parent 8657586 commit 1f5fbb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/prometheus/manifests/exporter/burrow_exporter.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$interval = 30,
$api_version = 3,
) {
stdlib::ensure_packages('daemon')

file { '/opt/prometheus-burrow-exporter_0.0.5-1_amd64.deb':
ensure => present,
Expand All @@ -36,7 +37,10 @@
ensure => installed,
provider => dpkg,
source => '/opt/prometheus-burrow-exporter_0.0.5-1_amd64.deb',
require => File['/opt/prometheus-burrow-exporter_0.0.5-1_amd64.deb'],
require => [
File['/opt/prometheus-burrow-exporter_0.0.5-1_amd64.deb'],
Package['daemon'],
],
}

$service_name = "prometheus-burrow-exporter@${title}"
Expand Down

0 comments on commit 1f5fbb5

Please sign in to comment.