Puppet Class: bacula::sd

Inherits:
bacula::params
Inherited by:
bacula::sd::config
bacula::sd::install
bacula::sd::service
Defined in:
manifests/sd.pp

Overview

Parameters:

  • manage_package (Any) (defaults to: true)
  • package_ensure (Any) (defaults to: 'installed')
  • manage_service (Any) (defaults to: true)
  • manage_docker_service (Any) (defaults to: true)
  • service_ensure (Any) (defaults to: 'running')
  • service_enable (Any) (defaults to: true)
  • sdname (Any) (defaults to: $::fqdn)
  • port (Any) (defaults to: '9103')
  • max_concurrent_jobs (Any) (defaults to: '20')
  • sdaddr (Any) (defaults to: undef)
  • director_name (Any) (defaults to: $::fqdn)
  • director_password (Any) (defaults to: 'dmlzY2EgY2F0YWx1bnlhIGxsaXVyZQo')
  • debug_level (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/sd.pp', line 1

class bacula::sd (
                    $manage_package        = true,
                    $package_ensure        = 'installed',
                    $manage_service        = true,
                    $manage_docker_service = true,
                    $service_ensure        = 'running',
                    $service_enable        = true,
                    $sdname                = $::fqdn,
                    $port                  = '9103',
                    $max_concurrent_jobs   = '20',
                    $sdaddr                = undef,
                    $director_name         = $::fqdn,
                    $director_password     = 'dmlzY2EgY2F0YWx1bnlhIGxsaXVyZQo',
                    $debug_level           = undef,
                  ) inherits bacula::params{

  validate_re($package_ensure, [ '^present$', '^installed$', '^absent$', '^purged$', '^held$', '^latest$' ], 'Not a supported package_ensure: present/absent/purged/held/latest')

  class { '::bacula::sd::install': }
  -> class { '::bacula::sd::config': }
  ~> class { '::bacula::sd::service': }
  -> Class['::bacula::sd']
}