aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06-25detect properly duplicity backupsAntoine Beaupre
2009-06-18add -o flag to treat only one backup, add rsync.log detectionAntoine Beaupre
2009-06-16the rdiff handler requires rsync to be installed on the node, include itAntoine Beaupre
2009-06-16add extras flag to add arbitrary options to rdiff configurationAntoine Beaupre
2009-06-16parse rdiff-backup logfile for the last real successful backup instead of ↵Antoine Beaupre
just relying on the backup logfile timestamp
2009-04-27always use force, use backports for rdiff-backup in etch so we always use ↵Antoine Beaupre
lenny's version
2009-04-27add backups servicegroup, put rdiff in a seperate class so we can overrideAntoine Beaupre
2009-04-27add missing commaAntoine Beaupre
2009-04-17drop the dom_sufx hack, calculate based on the parent's domain insteadAntoine Beaupre
2009-04-17note which is the parentAntoine Beaupre
2009-04-17detect multiple vserver locationsAntoine Beaupre
2009-04-17try to refactor to detect vserver backupsAntoine Beaupre
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-17fix resource tag exported from rdiff resources, install rdiff in the ↵Antoine Beaupre
rdiff-backup define
2009-01-17upgrade backupninja to new testing versionAntoine Beaupre
2009-01-14revert part of last commit: the backuptag is really based on the host ↵Antoine Beaupre
provided to the rdiff command and the host provided to the sandbox is the fqdn of the server
2009-01-14fix sandbox dependenciesAntoine Beaupre
2009-01-14default backup tag to fqdn, not specified hostAntoine Beaupre
2009-01-13rewrite nagios check scripts in perlAntoine Beaupre
2009-01-08run the nagios checks more regularlyAntoine Beaupre
2009-01-06add checkbackups cron job, fix multiple instances of passive service for ↵Antoine Beaupre
manually specified sandboxes
2009-01-06send the fqdn, not the specified host, to the sandbox so that it knows for ↵Antoine Beaupre
which host it's being configured
2009-01-06cosmetic changesAntoine Beaupre
2009-01-03Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2009-01-03upgrade backupninja version to the version that will be shipped with lennyMicah Anderson
2008-12-11allow arbitrary keyfiles to be distributed alongside the rdiff pluginAntoine Beaupre
2008-12-11fix user initialisation. without this i was getting:Antoine Beaupre
Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: User[false] is already defined in file /etc/puppet/modules/backupninja/manifests/server.pp at line 103; cannot redefine at /etc/puppet/modules/backupninja/manifests/server.pp:103 on node alexandria.koumbit.net also add rsync and rdiff-backup on the backup server to make those methods work out of the box
2008-12-08Merge commit 'micah/master'Antoine Beaupre
Conflicts: templates/rdiff.conf.erb
2008-12-08setup rdiff handler template to work properly for different versions of puppetMicah Anderson
2008-12-07switch to the correct method nameMicah Anderson
2008-12-06fix variable instanciation in templateAntoine Beaupre
2008-12-06replace the directory parameter by a home parameterAntoine Beaupre
the directory is now /rdiff-backup to avoid rdiff-backup overwriting the .ssh dir at every run
2008-12-06fix typo in mysql commitAntoine Beaupre
2008-12-06make the user depend on its home so it gets created properlyAntoine Beaupre
2008-12-06allow disabling the configfile parameter completely, put it in the config ↵Antoine Beaupre
file properly