aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-28Trying a different way to test definitions at backupninja::client::keySilvio Rhatto
2009-08-28New backupninja::client::defaults to avoid duplicates.Silvio Rhatto
Adding part of client.pp code into new class backupninja::client::defaults in an attempt to avoid duplicate definitions inside backupninja::client::key.
2009-08-27Defaulting backupkeytype to 'rsa'Silvio Rhatto
2009-08-27Adding additional clause to avoid blank real_keytypeSilvio Rhatto
2009-08-27Adding additional clause to avoid blank keytypeSilvio Rhatto
2009-08-27Making backupkeytype = false by default to avoided blank keytypeSilvio Rhatto
2009-08-27Removing wrong defined() callSilvio Rhatto
2009-08-27Merge branch 'master' of git://labs.riseup.net/module_backupninjaSilvio Rhatto
2009-08-27Merge commit '6734c256525e1dd42ba3648db82083bcabca66ed'Micah Anderson
Conflicts: manifests/dup.pp
2009-08-27Merge branch 'master' of git://labs.riseup.net/module_backupninjaSilvio Rhatto
Conflicts: manifests/dup.pp
2009-08-27add a note about the password variable needing to be enclosed in single quotesMicah Anderson
2009-08-27the $password variable also must be set, so spit an error if it is not definedMicah Anderson
2009-08-27set a requirement that the rdiff-backup directory variable must be setMicah Anderson
2009-08-27fix the $desthost variable requirement, was incorrectly set to $hostMicah Anderson
add a $destdir variable requirement
2009-08-27I unset the duplicity options that are set by default by backupninjaMicah Anderson
already (it is unecessary to set them when they are already set to the defaults): testconnect, sign, keep, bandwidthlimit I also unset because they were not set to the defaults: $tmpdir = "/var/tmp/duplicity", $nicelevel = 19. The defaults for these are: $tmpdir = "/tmp", and $nicelevel = 0. The example configuration files included in backupninja are confusing about these, so I've just clarified those in the upstream source. Then there were a couple options that were set to values that I think should not be set: $password = "a_very_complicated_passphrase" -- I dont think this should be set by default at all, because people will accidentally use this passphrase by default (yuck). People should be forced to set this. I also reset the $destdir = "/backups" setting to be false. This value must be set, but I dont think it should be set by default.
2009-08-27remove some stray commentsMicah Anderson
2009-08-27Fixing some definitions at backupninja::server::sandbox (2)Silvio Rhatto
2009-08-27Fixing some definitions at backupninja::server::sandboxSilvio Rhatto
2009-08-27Checking whether an exported resource is definedSilvio Rhatto
Checking whether an exported resource is already defined at backupninja::server::sandbox, otherwise puppet will try to redefined them each time a backup resource type is invoked with the same arguments (such as $directory), raising an error.
2009-08-27add in comment from 05efcc415ed19793e10d71e95a1d412e5d2095d1, didn'tMicah Anderson
merge this commit, because it also includes the package installation bits that we are doing a different way
2009-08-27* add duplicity package management class to the client classMicah Anderson
* update the README to be more clear about how this works, provide more examples and included details about the addition of the backupninja::client::duplicity class
2009-08-27Merge commit '73c59d37ff9f35abf4307fd243e4ed5ec9e78d97'Micah Anderson
2009-08-27Trying to avoid duplicate definition of backupninja::client::key on ↵Silvio Rhatto
backupninja::rdiff
2009-08-26Avoiding duplicate file definitions at backupninja::client::keySilvio Rhatto
2009-08-26Setting the right default value for backupkeytypeSilvio Rhatto
2009-08-26Adding backupkeytype parameter at backupninja::rdiffSilvio Rhatto
2009-08-26Fixing some definitions at backupninja::server::sandbox (2)Silvio Rhatto
2009-08-26Fixing some definitions at backupninja::server::sandboxSilvio Rhatto
2009-08-26OopsSilvio Rhatto
2009-08-26Add rdiff::backup option to config dest user home folderSilvio Rhatto
2009-07-19Merge branch 'master' of git://labs.riseup.net/module_backupninjaSilvio Rhatto
2009-07-16Checking whether an exported resource is definedSilvio Rhatto
Checking whether an exported resource is already defined at backupninja::server::sandbox, otherwise puppet will try to redefined them each time a backup resource type is invoked with the same arguments (such as $directory), raising an error.
2009-07-15add some details to the README about the package installation optionsMicah Anderson
2009-07-15fix rdiff-backup class name, "You can use Aa-Zz, 0-9 and underscores in ↵Micah Anderson
variables, resources and class names." which means no dashes in class names either
2009-07-15remove redundant case statements which tested to see if the package ensure ↵Micah Anderson
version variables were set changed the $rdiff-backup_ensure_version variable to $rdiff_backup_ensure_version as dashes are not allowed in variable names
2009-07-15create subclasses for maildir and rdiff-backup. If you are using these ↵Matt Taggart
features of backupninja, you'll want to switch to doing "include backupninja::client::maildir" for the machines that need it and this will pull in backupninja::client, so you don't need to include that anymore if you were explicitly doing so for those machines (although it shouldn't hurt). Right now what using these new subclasses will get you is dependencies on needed packages, but in the future there might be more.
2009-07-13adding duplicity package as dependency for handler.drebs
2009-07-13fixing file extension from ".duplicity" to ".dup".drebs
2009-07-13adding key type for duplicity.drebs
2009-07-13adding support for keytypes in backupninja server.drebs
2009-07-13adding backup-key-type to duplicity handler.drebs
2009-07-13eliminating some globbing because of server cache.drebs
2009-07-13some corrections to duplicity handler.drebs
2009-07-13adding duplicity handler.drebs
2009-07-12adding duplicity configfile template.drebs
2009-04-14remove the versioncmp function in the rdiff handler. This was a nice attempt ↵Micah Anderson
to try and support older puppets, but this functionality has not stabilized yet, 0.24.8 broke versioncmp and there looks like a new way coming. Its easier to be mean.
2009-03-11Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2009-03-11the default value for sshoptions is 'false' and this value ends up gettingMicah Anderson
set into the rdiff config, so 'sshoptions = false' which results in the host attempting to connect to a hostname called 'false'. This change only includes it if the value is not 'false'.
2009-03-09fix the $when default parameter to use the correct syntaxMicah Anderson
If when is set to just '01:00' (as it was previously), then backups will never run due to the time format being specified incorrectly. Backupninja considers '01:00' to be the day of the week and every time it wakes up to see if it is time to do a backup it determines that it is currently not the day "01:00" and so it shouldn't do a backup now. In otherwords, it will never do a backup at this rate. I've filed a bug for this issue, because it probably should at least let you know that you've failed. https://labs.riseup.net/code/issues/show/640
2009-01-03Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson