aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/backup.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/role/manifests/backup.pp')
-rw-r--r--modules/role/manifests/backup.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/role/manifests/backup.pp b/modules/role/manifests/backup.pp
index b35c542..6b8d00c 100644
--- a/modules/role/manifests/backup.pp
+++ b/modules/role/manifests/backup.pp
@@ -14,6 +14,7 @@ class role::backup (
14 include "profile::xmr_stak" 14 include "profile::xmr_stak"
15 include "profile::known_hosts" 15 include "profile::known_hosts"
16 include "profile::boinc" 16 include "profile::boinc"
17 include "profile::monitoring"
17 18
18 include "role::backup::postgresql" 19 include "role::backup::postgresql"
19 20
@@ -124,5 +125,11 @@ class role::backup (
124 order => "$order_dirname-$order_part", 125 order => "$order_dirname-$order_part",
125 } 126 }
126 } 127 }
128
129 @profile::monitoring::local_service { "Last backup in $base is not too old":
130 local => {
131 check_command => "check_last_file_date!$base!14",
132 }
133 }
127 } 134 }
128} 135}