aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-18 16:01:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-18 16:01:00 -0300
commit4d51b9d64d2449179b4d761c564836eb773d9f03 (patch)
tree8b3aeb49d52157d34f139dd0620b90e2e761fc85 /manifests
parent368661f49eb14dd8e0df157f071ae0cb08fbf8b3 (diff)
downloadpuppet-backup-4d51b9d64d2449179b4d761c564836eb773d9f03.tar.gz
puppet-backup-4d51b9d64d2449179b4d761c564836eb773d9f03.tar.bz2
Setting lockfiles for rsync backups
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 112cdf2..dbe24b2 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -164,6 +164,7 @@ class backup {
keepmonthly => '3',
format => 'long',
log => "/var/log/backup/rsync-$title.$domain.log",
+ lockfile => "/var/lock/rsync-$title.$domain.lock",
# [source]
include => $backup_include_encrypted,
exclude => $backup_exclude_encrypted,