Skip to content

Commit

Permalink
Add epel yumrepo to python3-prometheus_client install
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jan 19, 2023
1 parent 068efd7 commit e5ae31a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/profile/manifests/metrics.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
}

$el = $facts['os']['release']['major']
package { 'python3-prometheus_client': }
package { 'python3-prometheus_client':
require => Yumrepo['epel'],
}
package { 'slurm-job-exporter':
source => "https://github.com/guilbaults/slurm-job-exporter/releases/download/v${version}/slurm-job-exporter-${version}-1.el${el}.noarch.rpm",
provider => 'yum',
Expand Down

0 comments on commit e5ae31a

Please sign in to comment.