aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f69e5a1..4353f22 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -147,6 +147,14 @@ class backup {
source => "puppet://$server/modules/backup/mount-media",
}
+ # umount-media script
+ file { "/usr/local/sbin/umount-media":
+ owner => root,
+ group => root,
+ ensure => '/usr/local/sbin/mount-media',
+ require => File['/usr/local/sbin/mount-media'],
+ }
+
# default backupninja::rdiff configuration
define rdiff($port = '22', $ensure = present, $installkey = true) {
backupninja::rdiff { "rdiff-$title.$domain":