Puppet Class: bacula::director::check

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

Overview

Class that installs the check script and all needed dependencies to run it, but does nothing else



3
4
5
6
7
8
9
10
11
12
# File 'modules/bacula/manifests/director/check.pp', line 3

class bacula::director::check {
    ensure_packages('python3-prometheus-client')
    file { '/usr/bin/check_bacula.py':
        ensure => present,
        mode   => '0550',
        owner  => 'bacula',
        group  => 'bacula',
        source => 'puppet:///modules/bacula/check_bacula.py',
    }
}