aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-16 22:51:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-16 22:51:37 -0300
commitacb2e81dce10fc755601bbd0c3e09cd13f1b1fec (patch)
tree2d4fa78a7467225cf8021a460a46d4f1fa636e3f /manifests
parent3eed9efd2684766ca3d82b1eb354848b6a7e9015 (diff)
downloadpuppet-backupninja-acb2e81dce10fc755601bbd0c3e09cd13f1b1fec.tar.gz
puppet-backupninja-acb2e81dce10fc755601bbd0c3e09cd13f1b1fec.tar.bz2
Minor fixes
Diffstat (limited to 'manifests')
-rw-r--r--manifests/rsync.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp
index f973004..1c82889 100644
--- a/manifests/rsync.pp
+++ b/manifests/rsync.pp
@@ -9,7 +9,7 @@ define backupninja::rsync(
$nagios2_description = 'backups', $subfolder = 'rsync',
$log = false, $partition = false, $fscheck = false, $read_only = false,
- $mountpoint = false, $backupdir = false, $format = false, $days = '5',
+ $mountpoint = false, $backupdir = false, $format = false, $days = false,
$keepdaily = false, $keepweekly = false, $keepmonthly = false, $lockfile = false,
$nicelevel = 0, $enable_mv_timestamp_bug = false, $tmp = false, $multiconnection = false,
@@ -31,17 +31,17 @@ define backupninja::rsync(
{
include backupninja::client::rsync
- # Right now just local origin and remote destination is supported.
- $from = local
- $dest = remote
+ # Right now just local origin with remote destination is supported.
+ $from = 'local'
+ $dest = 'remote'
case $dest {
'remote': {
case $host { false: { err("need to define a host for remote backups!") } }
$real_backuptag = $backuptag ? {
- false => "backupninja-$fqdn",
- default => $backuptag
+ false => "backupninja-$fqdn",
+ default => $backuptag,
}
$real_home = $home ? {