Puppet Class: holland::mongodump
- Defined in:
- manifests/mongodump.pp
Summary
Manage the mongodump provider for the Holland Backup ManagerOverview
Manage the [mongodump](docs.hollandbackup.org/docs/provider_configs/mongodump.html) provider for the [Holland Backup Manager](hollandbackup.org/)
Note: This does not install the actual ‘mongodump` command since there are several different options for doing so. Especially with software collections.
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'manifests/mongodump.pp', line 52
class holland::mongodump (
Enum['absent', 'present'] $ensure = present,
Optional[String] $additional_options = undef,
Optional[String] $after_backup_command = undef,
String $authentication_database = '',
Optional[String] $before_backup_command = undef,
Integer[0] $compression_level = 1,
Enum[
'gzip',
'gzip-rsyncable',
'bzip2',
'pbzip2',
'lzop'
] $compression_method = 'gzip',
Optional[String] $failed_backup_command = undef,
String $host = 'localhost',
String $password = '',
String $username = '',
){
contain ::holland::mongodump::install
contain ::holland::mongodump::config
if $ensure == 'present' {
Class['holland::mongodump::install'] -> Class['holland::mongodump::config']
} else {
Class['holland::mongodump::config'] -> Class['holland::mongodump::install']
}
}
|