summaryrefslogtreecommitdiffstats
path: root/modules/tozt
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tozt')
-rw-r--r--modules/tozt/manifests/backups.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/tozt/manifests/backups.pp b/modules/tozt/manifests/backups.pp
index 28b3d0d..12b9be8 100644
--- a/modules/tozt/manifests/backups.pp
+++ b/modules/tozt/manifests/backups.pp
@@ -3,4 +3,8 @@ class tozt::backups {
extra_paths => ['/media/persistent'],
require => Service["tailscaled"];
}
+ class { 'restic::remote':
+ extra_paths => ['/media/persistent'];
+ }
+ Service["tailscaled"] -> Exec["restic init"]
}