Puppet Class: bareos::profile::client
- Defined in:
- manifests/profile/client.pp
Overview
Class: bareos::profile::client
setup an simple bareos filedaemon/client
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/profile/client.pp', line 3
class bareos::profile::client(
$name_client = $::fqdn,
$name_dir = 'bareos-dir',
$password = 'MyClientPasswordPleaseChange',
) {
# default client
class { '::bareos::client::client':
name_client => $name_client,
}
# allow bareos server to connect
::bareos::client::director { $name_dir:
password => $password,
}
::bareos::client::messages { 'Standard':
description => 'Send relevant messages to the Director.',
director => 'bareos-dir = all, !skipped, !restored',
}
}
|