Puppet Class: bacula::fd

Inherits:
bacula::params
Inherited by:
bacula::fd::config
bacula::fd::install
bacula::fd::service
Defined in:
manifests/fd.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)
  • port (Any) (defaults to: '9102')
  • fdname (Any) (defaults to: $::fqdn)
  • director_name (Any) (defaults to: $::fqdn)
  • director_password (Any) (defaults to: 'dmlzY2EgY2F0YWx1bnlhIGxsaXVyZQo')
  • max_concurrent_jobs (Any) (defaults to: '20')
  • plugin_dir (Any) (defaults to: undef)
  • fdaddr (Any) (defaults to: undef)
  • 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
24
# File 'manifests/fd.pp', line 1

class bacula::fd (
                    $manage_package        = true,
                    $package_ensure        = 'installed',
                    $manage_service        = true,
                    $manage_docker_service = true,
                    $service_ensure        = 'running',
                    $service_enable        = true,
                    $port                  = '9102',
                    $fdname                = $::fqdn,
                    $director_name         = $::fqdn,
                    $director_password     = 'dmlzY2EgY2F0YWx1bnlhIGxsaXVyZQo',
                    $max_concurrent_jobs   = '20',
                    $plugin_dir            = undef,
                    $fdaddr                = undef,
                    $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::fd::install': }
  -> class { '::bacula::fd::config': }
  ~> class { '::bacula::fd::service': }
  -> Class['::bacula::fd']
}