aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
AgeCommit message (Collapse)Author
2008-12-06make the user depend on its home so it gets created properlyAntoine Beaupre
2008-08-01fix one screw up from last commit.Pietro
2008-07-31change permissions to octals.Pietro
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-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-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-06-03add a way to override the automatic tag creation based on hostnameMicah Anderson
set the backuptag on crabgrass to not use the default one, otherwise it wont be collected
2008-05-31fix the case, 'doit' is no longer used, also set installuser to be default ↵Micah Anderson
as true
2008-05-30remove call that cannot be instantiated because the server class has not ↵Micah Anderson
been evaluated at this point
2008-05-30change from installkeys to installkeyMicah Anderson
when you have two rdiff-backup calls, then the User is a Duplicate definition, i think the only way to do it is to have a variable that you can set to turn off user handling (which we make $installuser and $usermanage be consistant with $installkey and $keymanage), which is set true by default, but when you have a second rdiff call on a host, you can set it to false
2008-05-30change the backupninja::client::key definition to use the $user variableMicah Anderson
change the $host variable to no longer use the $user variable, that way multiple rdiff's can be instantiated for a particular host, with different name variables in order to do that, the class also has to have the $installkeys variable that can be passed to backupninja::client::key so that the second rdiff instantiation would set installkeys => false, otherwise there will be an attempt to duplicate the resource
2008-05-30fix backupninja rdiff server sandbox to enable multiple rdiff definitions ↵Micah Anderson
differentiated by their name variable
2008-05-21create puffin backup ssh auth keysMicah Anderson
get rid of the ninjareport directory configure v.admin's ssh-key auth to kakapo move v.admin's backups into the /crypt/serverbackups directory on kakapo setup puffin to do ninjareport fix backupserver_tag
2008-05-21fix backupkeys variableMicah Anderson
2008-05-21fix the tags up so that the host can be overridden if your backup host ↵Micah Anderson
declaration doesn't agree with your $fqdn
2008-05-21flip the override variables, when setting these, you are going to want to setMicah Anderson
$backupdir, not $backupdir_override
2008-05-21create a new backadmin ssh keyMicah Anderson
move backup keys into a 'backupkeys' directory make a ninjareport directory to contain the pieces for ninjareport move the backupninja::server definition for kakapo into site.pp, including the $backupdir definition add a backupkeys piece to the backupninja::server module which should install the key
2008-05-20harmonize spacing to be consistantMicah Anderson
2008-05-20Some backupninja module updates from anarcat:Micah Anderson
Wed Apr 30 16:22:48 EDT 2008 anarcat@koumbit.org * remove read permissions on backup directory on group so that a sandbox user can't read other people's directories Wed Apr 30 16:01:53 EDT 2008 anarcat@koumbit.org * default the sandbox host to local ($fqdn) and depend on the sandbox directory properly Thu Mar 13 18:49:38 EDT 2008 anarcat@koumbit.org * create the backup directory along with the user
2008-02-29install anarcats backupninja module changesMicah Anderson