diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-16 21:56:13 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-16 21:56:13 -0300 |
commit | 06412e03431c2ed125481486d34f6e7efd09f1df (patch) | |
tree | 4b9cabf781b93b2ce5ccd42d713af10945fe15b7 /manifests/rsync.pp | |
parent | c5220c6efb0ae15739c9a78f45a828b19435e31c (diff) | |
download | puppet-backupninja-06412e03431c2ed125481486d34f6e7efd09f1df.tar.gz puppet-backupninja-06412e03431c2ed125481486d34f6e7efd09f1df.tar.bz2 |
Right now just local origin and remote destination is supported (2)
Diffstat (limited to 'manifests/rsync.pp')
-rw-r--r-- | manifests/rsync.pp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp index bcd1d1b..64a42ba 100644 --- a/manifests/rsync.pp +++ b/manifests/rsync.pp @@ -9,29 +9,31 @@ define backupninja::rsync( $home = false, $backupkeytype = "rsa", $backupkeystore = false, $extras = false, $nagios2_description = 'backups', $subfolder = 'rsync', - $rm = false, $cp = false, $touch = false, $mv = false, $fsck = false, - + # general $log = false, $partition = false, $fscheck = false, $read_only = false, $mountpoint = false, $backupdir = false, $format = false, $days = '5', $keepdaily = false, $keepweekly = false, $keepmonthly = false, $lockfile = false, $nicelevel = 0, $enable_mv_timestamp_bug = false, $tmp = false, $multiconnection = false, - $from = 'local', $rsync = false, $rsync_options = false, - $testconnect = false, $protocol = false, $ssh = false, $port = false, - $bandwidthlimit = false, $remote_rsync = false, $id_file = false, - $batch = false, $filelist = false, $filelistbase = false, - + # source + $from = 'local', $exclude_vserver = false, $exclude = [ "/home/*/.gnupg", "/home/*/.local/share/Trash", "/home/*/.Trash", "/home/*/.thumbnails", "/home/*/.beagle", "/home/*/.aMule", "/home/*/gtk-gnutella-downloads" ], $include = [ "/var/spool/cron/crontabs", "/var/backups", "/etc", "/root", "/home", "/usr/local/*bin", "/var/lib/dpkg/status*" ], - $exclude_vserver = false, $numericids = false, $compress = false, + # dest + $dest = 'remote', $testconnect = false, $protocol = false, $ssh = false, $port = false, + $bandwidthlimit = false, $remote_rsync = false, $id_file = false, + $batch = false, $batchbase = false, $numericids = false, $compress = false, + $fakesuper = false, - $dest = false, $fakesuper = false, $batchname = false, + # services + $initscripts = false, $service = false, - $initscripts = false, $service = false) + # system + $rm = false, $cp = false, $touch = false, $mv = false, $fsck = false) { include backupninja::client::rsync |