Puppet Class: bareos::profile::director::client
- Defined in:
- manifests/profile/director/client.pp
Overview
Class: bareos::profile::director::client
Default client, backup bareos director itself
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/profile/director/client.pp', line 3
class bareos::profile::director::client {
$password = fqdn_rand_string(20,'','bareos-fd-password')
# setup filedaemon
class { 'bareos::profile::client':
name_client => 'bareos-director-fd',
password => $password,
}
# configure client on bareos director
::bareos::director::client {'bareos-director-fd':
description => 'Client resource of the Director itself.',
password => $password,
address => 'localhost',
}
::bareos::director::job {'backup-bareos-fd':
job_defs => 'BackupBareosCatalog',
client => 'bareos-director-fd',
messages => 'Standard',
}
}
|