This module install and configure the enterprise class bareos backup solution. It could be used for all three components, the client, the server and the storage side.
No additional actions needed to use this module.
This module could be used to install and configure three components needed to perform distributed backups.
This module can install the:
class { 'bareos':
type_dir => true,
client_password => 'Start123!',
monitor_password => 'Start123!',
storage_password => 'Start123!',
storage_daemon => 'bac-sd.example.local',
mail_hub => 'mail.example.local',
mail_group => 'bac-group@example.local',
backup_clients => [ 'client1.example.local', 'client2.example.local' ]
}
class { 'bareos':
type_sd => true,
monitor_password => 'Start123!',
storage_password => 'Start123!',
storage_daemon => 'bac-sd.example.local'
}
class { 'bareos':
type_fd => true,
client_password => 'Start123!',
monitor_password => 'Start123!'
}
Here is the list of parameters used by this module.
$type_fd
Specify if file daemon components should be installed Default value is false
$type_sd
Specify if storage daemon components should be installed Default value is false
$type_dir
Specify if director components should be installed Default value is false
$db_password
Specify the database password Default value is 0nly4install
$db_password_hash
Specify the database password hash Default value is *31F96A5E321BF3E06E35668ED982CC2447CF5B3F
$client_password
Specify the client password Default value is client-password-for-bareos
$monitor_password
Specify the monitor password Default value is monitor-password-for-bareos
$storage_password
Specify the storage daemon password Default value is storage-password-for-bareos
$storage_daemon
Specify the storage daemon that should be used Default value is storage-daemon.domain.local
$mail_hub
Specify the mail hub that should be used Default value is mail-hub.domain.local
$mail_group
Specify the mail group that should be used Default value is bareos-list@domain.local
$backup_clients
Specify the clients that should be backuped Default value is no client
This module has been built on and tested against Puppet 4.0 and higher.
The module has been tested on:
Testing on other platforms has been light and cannot be guaranteed.
This module does currently only support a limited set of distributions and need to be reworked for other distributions as well.
If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.