Puppet Class: holland
- Defined in:
- manifests/init.pp
Summary
Common setup and resources for the Holland Backup ManagerOverview
Common setup and resources for the [Holland Backup Manager](hollandbackup.org/). There isn’t an [Augeas](augeas.net/) lens for ‘holland.conf` in the upstream project yet so we’ll need to provide one ourselves to manage the main configuration from more than one class. Since Puppet requires ‘augeas-libs` we don’t need to manage the parrent directories since they’ll already be in place.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'manifests/init.pp', line 34
class holland (
Enum['absent', 'present'] $ensure = present,
String $backup_directory = '/var/spool/holland',
String $logfile = '/var/log/holland/holland.log',
Enum[
'debug',
'info',
'warning',
'error',
'critical'
] $log_level = 'info',
String $path = '/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin',
String $plugin_dirs = '/usr/share/holland/plugins',
String $umask = '0007',
){
contain ::holland::install
if $ensure == 'present' {
contain ::holland::config
Class['holland::install'] -> Class['holland::config']
}
}
|