Puppet Class: bacula::director::prometheus_exporter

Defined in:
modules/bacula/manifests/director/prometheus_exporter.pp

Overview

Parameters:

  • port (Any) (defaults to: '9133')


1
2
3
4
5
6
7
8
9
10
# File 'modules/bacula/manifests/director/prometheus_exporter.pp', line 1

class bacula::director::prometheus_exporter(
  $port = '9133',
) {
    systemd::service { 'prometheus-bacula-exporter':
        ensure  => present,
        restart => true,
        content => systemd_template('prometheus-bacula-exporter'),
        require => File['/usr/bin/check_bacula.py'],
    }
}