Puppet Class: restic
- Defined in:
-
manifests/init.pp
Summary
Module to install Restic and manage backups
Overview
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# File 'manifests/init.pp', line 25
class restic(
String $user = 'restic',
String $group = 'restic',
Boolean $package_manage = true,
String $package_ensure = latest,
String $package_name = 'restic',
Hash $repositories = {},
Hash $backups = {},
) {
anchor { "${module_name}::begin": }
-> class { "${module_name}::install": }
-> anchor { "${module_name}::end": }
create_resources('restic::repository', $repositories)
create_resources('restic::backup', $backups)
}
|