aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
AgeCommit message (Collapse)Author
2014-03-06Support for backupdir_ensure variable (4)Silvio Rhatto
2014-03-06Support for '' variable (3)Silvio Rhatto
2014-03-06Support for '' variable (2)Silvio Rhatto
2014-03-06Support for '' variableSilvio Rhatto
2012-05-15Force bash at remote destination (backupninja upstream #3003)Silvio Rhatto
2010-06-07Fixing user commentsSilvio Rhatto
2010-06-05Minor fix at Backupninja_server_realize realizationSilvio Rhatto
2010-06-05Adding back duplicate definition check for backupninja_server_realizeSilvio Rhatto
2010-06-05Testing without checking duplicate definition of backupninja_server_realizeSilvio Rhatto
2010-06-05Checking for backupninja_server_realize definition / commentsSilvio Rhatto
2010-06-05Trying a different approach to realize exported resourcesSilvio Rhatto
2010-06-05Trying another method to override an exported resource if already definedSilvio Rhatto
2010-06-05Reverting last change and trying exported resources override insteadSilvio Rhatto
2010-06-05Using namevars to deal with multiple backup destinationsSilvio Rhatto
2010-02-20Avoiding duplicate definition of ssh_authorized_keySilvio Rhatto
2010-01-05enclose namevar in curly bracesMicah Anderson
2010-01-05let the user override the nagios2_description, which is necessary forMicah Anderson
multiple backup defines on one host
2010-01-04change the nagios2::passive_service check so that it uses the $name variable ↵Micah Anderson
instead of the $real_host variable because $real_host prevents us from creating more than one rdiff-backup define on a server because this will cause a duplicate defintion. The $name variable allows for multiple without creating duplicate passive_service checks
2009-12-19fix the $real_nagios_server variable, this should be $nagios_server as ↵Micah Anderson
$real_ is not defined anywhere
2009-12-19add a package definition for nsca underneath the $nagios_server blockMicah Anderson
this makes sure that the nsca package is installed, as it is a dependency for the nagios checks. It does not configure any of the nsca bits. In fact this should be done in a nagios::nsca class and instead this module should require that
2009-12-07remove no longer referenced call to rdiff-installed class, and add a check ↵Micah Anderson
for rsync package installation to avoid duplicate package definitions
2009-12-07move if block up further to the place where the checkbackups script is installedMicah Anderson
2009-12-07replace koumbit-specific nagios server configuration with a $nagios_server ↵Micah Anderson
variable that can be set. updated README to detail this information
2009-10-20fix typo that yields to a weird errorAntoine Beaupre
Could not create backup-nagios: Parameter type failed: interning empty string
2009-09-24Merge commit 'micah/master'Antoine Beaupre
Conflicts: manifests/mysql.pp manifests/rdiff.pp manifests/server.pp
2009-08-26Fixing some definitions at backupninja::server::sandbox (2)Silvio Rhatto
2009-08-26Fixing some definitions at backupninja::server::sandboxSilvio 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-13adding support for keytypes in backupninja server.drebs
2009-04-27add backups servicegroup, put rdiff in a seperate class so we can overrideAntoine Beaupre
2009-01-14fix sandbox dependenciesAntoine 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
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-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