File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
modules/enableit/common/manifests/monitor/exporter Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 3434
3535 $_address = $listen_address .split(' :' )[0]
3636 $_port = $listen_address .split(' :' )[1]
37- $_options = [
38- " --address=${_address}" ,
39- " --port=${_port}" ,
40- ]
4137
4238 prometheus::daemon { 'prometheus-slurm-exporter' :
4339 package_name => ' obmondo-slurm-exporter' ,
5349 notify_service => Service[' prometheus-slurm-exporter' ],
5450 real_download_url => ' https://github.com/rivosinc/prometheus-slurm-exporter' ,
5551 export_scrape_job => $enable ,
56- options => $_options.join( ' ' ) ,
52+ options => " -web.listen-address ${listen_address} " ,
5753 scrape_port => Integer($listen_address .split(' :' )[1]),
5854 scrape_host => $trusted [' certname' ],
5955 scrape_job_name => ' slurm' ,
You can’t perform that action at this time.
0 commit comments