Defined Type: bacula::sd::director

Defined in:
manifests/sd/director.pp

Overview

Restricted Director, used by tray-monitor to get the

status of the file daemon

Director

Name = ubuntu16-mon
Password = "PxLNs0J_OI_0VPrXpk24LDVDdlYmnW5xR"
Monitor = yes

Parameters:

  • password (Any)
  • director_name (Any) (defaults to: $name)
  • monitor (Any) (defaults to: false)
  • description (Any) (defaults to: undef)


10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/sd/director.pp', line 10

define bacula::sd::director (
                              $password,
                              $director_name = $name,
                              $monitor       = false,
                              $description   = undef,
                            ) {
  concat::fragment{ "/etc/bacula/bacula-sd.conf director ${director_name}":
    target  => '/etc/bacula/bacula-sd.conf',
    order   => '90',
    content => template("${module_name}/sd/director.erb"),
  }
}