aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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
2009-01-03upgrade backupninja version to the version that will be shipped with lennyMicah Anderson
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-05Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2008-12-05Change to the new format required in templates now that scope is no longer ↵Micah Anderson
availble in templates since 0.24.6: http://projects.reductivelabs.com/issues/show/1177
2008-10-16err, meant to upgrade the backupninja package here, not the rdiff oneMicah Anderson
2008-10-16update backupninja version to newest version in BPO. this enables etch ↵Micah Anderson
machines to talk to lenny
2008-10-06change the default order for the maildir handler to be 99, becauseMicah Anderson
this handler runs continuously its better if all the other handlers have run before this one is started (such as the rdiff-backup one)
2008-10-06update backupninja package to the version that is in lennyMicah Anderson
2008-08-31update the details in the backupninja READMEMicah Anderson
2008-08-08fix remove, should default to false instead of 'no'Micah Anderson
2008-08-08fix typoMicah Anderson
2008-08-08adding the ability to specify how much maildir backups to keepMicah Anderson
2008-08-08standardize the spacing/indentationMicah Anderson
2008-08-06update to latest backupninjaMicah Anderson
2008-08-01fix one screw up from last commit.Pietro
2008-07-31change permissions to octals.Pietro
2008-07-31standardize formattingMicah Anderson
2008-07-31allow for a resource override of managing the ssh directoryMicah Anderson
2008-07-31remove extraneous curly braceMicah Anderson
2008-07-31enable the ability to override if the ssh directory is managed or not, inMicah Anderson
situations where there is a system-wide /etc/ssh/authorized_keys directory, this will likely not be managed by the backupninja module, and managing it here will result in duplicate definitions
2008-07-31change to standardized formattingMicah Anderson
2008-07-31more formatting changesMicah Anderson
2008-07-31fix directory bug that was causing the home directory to be prepended to the ↵Micah Anderson
beginning of the $sshdir
2008-07-31move to standardized spacing and indentationMicah Anderson
2008-07-31add missing parameter for Backupninja::Rdiff typeMicah Anderson
2008-07-31re-add accidentally removed opening braceMicah Anderson
2008-07-31setup the backupninja module to enable specification of the locationMicah Anderson
of the ssh authorized_keys directories and files so that if you are not using the standard location for authorized_keys files ($HOME/.ssh/authorized_keys) and instead using the /etc/ssh/sshd_config option "AuthorizedKeysFile" you can then specify where that will be. For example, if your /etc/ssh/sshd_config has: AuthorizedKeysFile /etc/ssh/authorized_keys/$u then you could specify in the rdiff-backup definition the following parameters: ... ssh_dir => "/etc/ssh/authorized_keys", authorized_keys_file => "${hostname}", to create the file /etc/ssh/authorized_keys/${hostname} instead of the default location (if unspecifed, the default is used).
2008-07-08add some error checks to make sure necessary values are setMicah Anderson