Micah Anderson [Wed, 14 Apr 2010 18:27:36 +0000 (14:27 -0400)]
Reverting "the lvm and luks sys template should default to 'no' for both of these options. turning them on by default means that you get warnings/errors for systems that do not have either of these. you should opt-in, not opt-out"
Micah Anderson [Wed, 10 Feb 2010 15:33:39 +0000 (10:33 -0500)]
the lvm and luks sys template should default to 'no' for both of these options.
turning them on by default means that you get warnings/errors for systems that
do not have either of these. you should opt-in, not opt-out
Micah Anderson [Fri, 29 Jan 2010 17:20:53 +0000 (12:20 -0500)]
allow for a version variable override for the backupninja package,
instead of hard-coding the 0.9.6 release. This changes the installed
version to be 'installed', and lets you specify a variable if you wish
to install a different version
Micah Anderson [Tue, 5 Jan 2010 02:46:32 +0000 (21:46 -0500)]
change the nagios2::passive_service check so that it uses the $name variable 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
Micah Anderson [Mon, 21 Dec 2009 19:54:01 +0000 (14:54 -0500)]
another important distinction in the README the newer nagios modules
which move us from using nagios2::service to nagios::service (which
support nagios3 and the puppet built-in native types) are not
currently supported
Micah Anderson [Sat, 19 Dec 2009 22:59:54 +0000 (17:59 -0500)]
add a package definition for nsca underneath the $nagios_server block
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
Silvio Rhatto [Fri, 28 Aug 2009 20:17:25 +0000 (17:17 -0300)]
New backupninja::client::defaults to avoid duplicates.
Adding part of client.pp code into new class
backupninja::client::defaults in an attempt to avoid duplicate
definitions inside backupninja::client::key.
Micah Anderson [Thu, 27 Aug 2009 21:05:36 +0000 (17:05 -0400)]
I unset the duplicity options that are set by default by backupninja
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.
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.
Micah Anderson [Thu, 27 Aug 2009 19:47:03 +0000 (15:47 -0400)]
add in comment from 05efcc415ed19793e10d71e95a1d412e5d2095d1, didn't
merge this commit, because it also includes the package installation
bits that we are doing a different way
Micah Anderson [Thu, 27 Aug 2009 19:43:52 +0000 (15:43 -0400)]
* add duplicity package management class to the client class
* 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
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.
Micah Anderson [Wed, 15 Jul 2009 21:13:44 +0000 (17:13 -0400)]
fix rdiff-backup class name, "You can use Aa-Zz, 0-9 and underscores in variables, resources and class names." which means no dashes in class names either
Micah Anderson [Wed, 15 Jul 2009 21:10:21 +0000 (17:10 -0400)]
remove redundant case statements which tested to see if the package ensure version variables were set
changed the $rdiff-backup_ensure_version variable to $rdiff_backup_ensure_version as dashes are not allowed in variable names
Matt Taggart [Wed, 15 Jul 2009 20:05:21 +0000 (13:05 -0700)]
create subclasses for maildir and rdiff-backup. If you are using these 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.