puppet_backupninja.git
6 years agosshkeys depend on /root/.ssh
varac [Sat, 14 Sep 2013 09:10:47 +0000 (11:10 +0200)]
sshkeys depend on /root/.ssh

7 years agofix $directory
varac [Sat, 20 Apr 2013 14:42:12 +0000 (16:42 +0200)]
fix $directory

7 years agodefault parameter for $home moved to define parameter
varac [Sat, 20 Apr 2013 14:24:30 +0000 (16:24 +0200)]
default parameter for $home moved to define parameter

7 years agoreal_home is a leftover from former times
varac [Sat, 20 Apr 2013 13:44:16 +0000 (15:44 +0200)]
real_home is a leftover from former times

7 years agoMerge branch 'master' of code.leap.se:puppet_backupninja into nadir_master
varac [Sun, 14 Apr 2013 10:33:39 +0000 (12:33 +0200)]
Merge branch 'master' of code.leap.se:puppet_backupninja into nadir_master

7 years agodeclare $directory not only if $type is 'remote'
varac [Thu, 7 Mar 2013 12:30:16 +0000 (13:30 +0100)]
declare $directory not only if $type is 'remote'

7 years agoupdating nagios scripts
kwadronaut [Thu, 31 Jan 2013 09:15:44 +0000 (10:15 +0100)]
updating nagios scripts

7 years agoNOPASSWD: for nagios check
varac [Thu, 24 Jan 2013 17:11:42 +0000 (18:11 +0100)]
NOPASSWD: for nagios check

7 years agotypo at cmd def
varac [Thu, 24 Jan 2013 17:06:33 +0000 (18:06 +0100)]
typo at cmd def

7 years agosudo def for duplicity check
varac [Thu, 24 Jan 2013 17:03:32 +0000 (18:03 +0100)]
sudo def for duplicity check

7 years agodouble quote variable
varac [Thu, 24 Jan 2013 15:55:43 +0000 (16:55 +0100)]
double quote variable

7 years agocall Backupninja Duplicity with fqdn so it is a unique name
varac [Thu, 24 Jan 2013 15:52:42 +0000 (16:52 +0100)]
call Backupninja Duplicity with fqdn so it is a unique name

7 years agoadded nrpe cmd and service definition
varac [Thu, 24 Jan 2013 12:32:00 +0000 (13:32 +0100)]
added nrpe cmd and service definition

7 years agocheck_backupninja_duplicity.py nagios script
varac [Thu, 24 Jan 2013 11:08:24 +0000 (12:08 +0100)]
check_backupninja_duplicity.py nagios script

7 years agoREADME:Automatic creation of ssh-keys for duplicity
varac [Mon, 21 Jan 2013 20:04:41 +0000 (21:04 +0100)]
README:Automatic creation of ssh-keys for duplicity

7 years agouse same name for key creation and deployment
varac [Mon, 3 Dec 2012 11:27:34 +0000 (12:27 +0100)]
use same name for key creation and deployment

7 years agopossibilty to create a ssh keypair on the master
varac [Fri, 30 Nov 2012 20:27:14 +0000 (21:27 +0100)]
possibilty to create a ssh keypair on the master

added following parameters to backupninja::duplicity
and backupninja::client::key :

$createkey
$keystorefspath
$keydest
$keydestname

7 years agoadd backupninja::generate_sshkey
varac [Fri, 30 Nov 2012 10:46:15 +0000 (11:46 +0100)]
add backupninja::generate_sshkey

7 years agodefault: dump to /var/backups/postgres instead of /var/backup/postgres, like the...
varac [Mon, 29 Oct 2012 18:22:24 +0000 (19:22 +0100)]
default: dump to /var/backups/postgres instead of /var/backup/postgres, like the mysql handler

7 years agoprovide pgsql support
Jamie McClelland [Wed, 16 Mar 2011 01:14:24 +0000 (21:14 -0400)]
provide pgsql support

9 years agofix template to not include configuration lines if they are not defined this was
Micah Anderson [Mon, 1 Nov 2010 20:59:22 +0000 (16:59 -0400)]
fix template to not include configuration lines if they are not defined this was
necessary to change because in puppet 2.6, if you did not set one of the
variables that had no defaults (eg. reporthost), you would get a backupninja
config file with 'reporthost = undef', which is not valid for backupninja

10 years agochange the parameter values in the sys handler to use true/false
Micah Anderson [Wed, 14 Apr 2010 18:52:49 +0000 (14:52 -0400)]
change the parameter values in the sys handler to use true/false
values for the default to be more uniform with the other handler
definitions

10 years agoReverting "the lvm and luks sys template should default to 'no' for both of these...
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"

I misunderstood the ternary operator here

10 years agofix a couple more bandwidthlimit spelling errors
Micah Anderson [Thu, 25 Feb 2010 16:21:23 +0000 (11:21 -0500)]
fix a couple more bandwidthlimit spelling errors

10 years agofix the spelling of the bandwidthlimit option
Micah Anderson [Thu, 25 Feb 2010 16:12:59 +0000 (11:12 -0500)]
fix the spelling of the bandwidthlimit option

10 years agothe lvm and luks sys template should default to 'no' for both of these options.
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

10 years agofix syntax error in parameter delineation
Micah Anderson [Mon, 1 Feb 2010 20:41:16 +0000 (15:41 -0500)]
fix syntax error in parameter delineation

10 years agoadd doluks and dolvm parameters to the sys handlers
Micah Anderson [Mon, 1 Feb 2010 19:26:18 +0000 (14:26 -0500)]
add doluks and dolvm parameters to the sys handlers

10 years agoallow for a version variable override for the backupninja package,
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

10 years agoenclose namevar in curly braces
Micah Anderson [Wed, 6 Jan 2010 02:48:19 +0000 (21:48 -0500)]
enclose namevar in curly braces

10 years agolet the user override the nagios2_description, which is necessary for
Micah Anderson [Tue, 5 Jan 2010 15:34:16 +0000 (10:34 -0500)]
let the user override the nagios2_description, which is necessary for
multiple backup defines on one host

10 years agochange the nagios2::passive_service check so that it uses the $name variable instead...
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

10 years agoanother important distinction in the README the newer nagios modules
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

10 years agoone more note about where things must be to make it work
Micah Anderson [Mon, 21 Dec 2009 19:49:27 +0000 (14:49 -0500)]
one more note about where things must be to make it work

10 years agoupdated README to include some pre-requisite information required for
Micah Anderson [Mon, 21 Dec 2009 19:47:05 +0000 (14:47 -0500)]
updated README to include some pre-requisite information required for
nagios backupninja checks

10 years agofix the $real_nagios_server variable, this should be $nagios_server as $real_ is...
Micah Anderson [Sat, 19 Dec 2009 23:08:57 +0000 (18:08 -0500)]
fix the $real_nagios_server variable, this should be $nagios_server as $real_ is not defined anywhere

10 years agoadd a package definition for nsca underneath the $nagios_server block
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

10 years agoMerge remote branch 'anarcat/master'
Micah Anderson [Wed, 9 Dec 2009 04:46:05 +0000 (23:46 -0500)]
Merge remote branch 'anarcat/master'

10 years agofixed the README text now that the individual handler defines do the
Micah Anderson [Wed, 9 Dec 2009 04:44:29 +0000 (23:44 -0500)]
fixed the README text now that the individual handler defines do the
software installation automatically

10 years agoMerge branch 'master' of ssh://git.koumbit.net/puppet/modules/backupninja
anarcat [Wed, 9 Dec 2009 04:44:08 +0000 (23:44 -0500)]
Merge branch 'master' of ssh://git.koumbit.net/puppet/modules/backupninja

10 years agovery small typo
anarcat [Wed, 9 Dec 2009 04:43:57 +0000 (23:43 -0500)]
very small typo

10 years agoMerge remote branch 'anarcat/master'
Micah Anderson [Wed, 9 Dec 2009 04:40:45 +0000 (23:40 -0500)]
Merge remote branch 'anarcat/master'

10 years agoupdate README to provide upgrade information, information about nagios
Micah Anderson [Wed, 9 Dec 2009 04:39:10 +0000 (23:39 -0500)]
update README to provide upgrade information, information about nagios
configuration and a more clear step-by-step process for using the module

10 years agofix permissions on so backupninja doesn't complain loudly
Antoine Beaupre [Wed, 9 Dec 2009 04:31:31 +0000 (23:31 -0500)]
fix permissions on  so backupninja doesn't complain loudly

10 years agofix rdiff_backup include typo
Antoine Beaupre [Wed, 9 Dec 2009 04:31:11 +0000 (23:31 -0500)]
fix rdiff_backup include typo

10 years agoremove no longer referenced call to rdiff-installed class, and add a check for rsync...
Micah Anderson [Mon, 7 Dec 2009 22:11:14 +0000 (17:11 -0500)]
remove no longer referenced call to rdiff-installed class, and add a check for rsync package installation to avoid duplicate package definitions

10 years agomove if block up further to the place where the checkbackups script is installed
Micah Anderson [Mon, 7 Dec 2009 22:07:05 +0000 (17:07 -0500)]
move if block up further to the place where the checkbackups script is installed

10 years agoreplace koumbit-specific nagios server configuration with a $nagios_server variable...
Micah Anderson [Mon, 7 Dec 2009 22:03:59 +0000 (17:03 -0500)]
replace koumbit-specific nagios server configuration with a $nagios_server variable that can be set. updated README to detail this information

10 years agoMerge remote branch 'anarcat/master'
Micah Anderson [Mon, 7 Dec 2009 21:17:04 +0000 (16:17 -0500)]
Merge remote branch 'anarcat/master'

10 years agouse the client classes for dependencies instead of directly defining packages
anarcat [Mon, 7 Dec 2009 17:08:15 +0000 (12:08 -0500)]
use the client classes for dependencies instead of directly defining packages

10 years agoAdded class backupninja::client::sys to install neccessary files for backupninja...
Varac [Mon, 7 Dec 2009 00:46:52 +0000 (01:46 +0100)]
Added class backupninja::client::sys to install neccessary files for backupninja::sys on debian and ubuntu.

10 years agomove the tag where it belongs (in remote)
Antoine Beaupre [Wed, 21 Oct 2009 00:05:31 +0000 (20:05 -0400)]
move the tag where it belongs (in remote)

10 years agofix typo that yields to a weird error
Antoine Beaupre [Wed, 21 Oct 2009 00:00:46 +0000 (20:00 -0400)]
fix typo that yields to a weird error

Could not create backup-nagios: Parameter type failed: interning empty string

10 years agofix directory
Antoine Beaupre [Tue, 20 Oct 2009 23:28:26 +0000 (19:28 -0400)]
fix directory

10 years agoMerge commit 'micah/master'
Antoine Beaupre [Thu, 24 Sep 2009 16:16:03 +0000 (12:16 -0400)]
Merge commit 'micah/master'

Conflicts:

manifests/mysql.pp
manifests/rdiff.pp
manifests/server.pp

10 years agofix vserver lookup script
Antoine Beaupre [Thu, 24 Sep 2009 15:16:05 +0000 (11:16 -0400)]
fix vserver lookup script

10 years agoAdding missing keystore and backupkeystore parameters at rdiff and dup definitions
Silvio Rhatto [Sat, 29 Aug 2009 16:18:54 +0000 (13:18 -0300)]
Adding missing keystore and backupkeystore parameters at rdiff and dup definitions

10 years agoAdding keytype at backupninja::client::key
Silvio Rhatto [Fri, 28 Aug 2009 21:27:47 +0000 (18:27 -0300)]
Adding keytype at backupninja::client::key

10 years agoTrying a different way to test definitions at backupninja::client::key (3)
Silvio Rhatto [Fri, 28 Aug 2009 21:19:35 +0000 (18:19 -0300)]
Trying a different way to test definitions at backupninja::client::key (3)

10 years agoTrying a different way to test definitions at backupninja::client::key (2)
Silvio Rhatto [Fri, 28 Aug 2009 20:59:17 +0000 (17:59 -0300)]
Trying a different way to test definitions at backupninja::client::key (2)

10 years agoTrying a different way to test definitions at backupninja::client::key
Silvio Rhatto [Fri, 28 Aug 2009 20:54:25 +0000 (17:54 -0300)]
Trying a different way to test definitions at backupninja::client::key

10 years agoNew backupninja::client::defaults to avoid duplicates.
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.

10 years agoDefaulting backupkeytype to 'rsa'
Silvio Rhatto [Fri, 28 Aug 2009 01:08:50 +0000 (22:08 -0300)]
Defaulting backupkeytype to 'rsa'

10 years agoAdding additional clause to avoid blank real_keytype
Silvio Rhatto [Fri, 28 Aug 2009 00:45:04 +0000 (21:45 -0300)]
Adding additional clause to avoid blank real_keytype

10 years agoAdding additional clause to avoid blank keytype
Silvio Rhatto [Fri, 28 Aug 2009 00:30:21 +0000 (21:30 -0300)]
Adding additional clause to avoid blank keytype

10 years agoMaking backupkeytype = false by default to avoided blank keytype
Silvio Rhatto [Fri, 28 Aug 2009 00:16:45 +0000 (21:16 -0300)]
Making backupkeytype = false by default to avoided blank keytype

10 years agoRemoving wrong defined() call
Silvio Rhatto [Fri, 28 Aug 2009 00:08:54 +0000 (21:08 -0300)]
Removing wrong defined() call

10 years agoMerge branch 'master' of git://labs.riseup.net/module_backupninja
Silvio Rhatto [Thu, 27 Aug 2009 23:50:23 +0000 (20:50 -0300)]
Merge branch 'master' of git://labs.riseup.net/module_backupninja

10 years agoMerge commit '6734c256525e1dd42ba3648db82083bcabca66ed'
Micah Anderson [Thu, 27 Aug 2009 23:47:12 +0000 (19:47 -0400)]
Merge commit '6734c256525e1dd42ba3648db82083bcabca66ed'

Conflicts:
manifests/dup.pp

10 years agoMerge branch 'master' of git://labs.riseup.net/module_backupninja
Silvio Rhatto [Thu, 27 Aug 2009 22:38:39 +0000 (19:38 -0300)]
Merge branch 'master' of git://labs.riseup.net/module_backupninja

Conflicts:
manifests/dup.pp

10 years agoadd a note about the password variable needing to be enclosed in single quotes
Micah Anderson [Thu, 27 Aug 2009 21:49:26 +0000 (17:49 -0400)]
add a note about the password variable needing to be enclosed in single quotes

10 years agothe $password variable also must be set, so spit an error if it is not defined
Micah Anderson [Thu, 27 Aug 2009 21:19:20 +0000 (17:19 -0400)]
the $password variable also must be set, so spit an error if it is not defined

10 years agoset a requirement that the rdiff-backup directory variable must be set
Micah Anderson [Thu, 27 Aug 2009 21:13:11 +0000 (17:13 -0400)]
set a requirement that the rdiff-backup directory variable must be set

10 years agofix the $desthost variable requirement, was incorrectly set to $host
Micah Anderson [Thu, 27 Aug 2009 21:10:56 +0000 (17:10 -0400)]
fix the $desthost variable requirement, was incorrectly set to $host
add a $destdir variable requirement

10 years agoI unset the duplicity options that are set by default by backupninja
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.

10 years agoremove some stray comments
Micah Anderson [Thu, 27 Aug 2009 20:28:30 +0000 (16:28 -0400)]
remove some stray comments

10 years agoFixing some definitions at backupninja::server::sandbox (2)
Silvio Rhatto [Thu, 27 Aug 2009 00:54:25 +0000 (21:54 -0300)]
Fixing some definitions at backupninja::server::sandbox (2)

10 years agoFixing some definitions at backupninja::server::sandbox
Silvio Rhatto [Thu, 27 Aug 2009 00:37:43 +0000 (21:37 -0300)]
Fixing some definitions at backupninja::server::sandbox

10 years agoChecking whether an exported resource is defined
Silvio Rhatto [Thu, 16 Jul 2009 21:23:05 +0000 (18:23 -0300)]
Checking whether an exported resource is defined

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.

10 years agoadd in comment from 05efcc415ed19793e10d71e95a1d412e5d2095d1, didn't
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

10 years ago* add duplicity package management class to the client class
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

10 years agoMerge commit '73c59d37ff9f35abf4307fd243e4ed5ec9e78d97'
Micah Anderson [Thu, 27 Aug 2009 19:26:09 +0000 (15:26 -0400)]
Merge commit '73c59d37ff9f35abf4307fd243e4ed5ec9e78d97'

10 years agoTrying to avoid duplicate definition of backupninja::client::key on backupninja:...
Silvio Rhatto [Thu, 27 Aug 2009 16:20:38 +0000 (13:20 -0300)]
Trying to avoid duplicate definition of backupninja::client::key on backupninja::rdiff

10 years agoAvoiding duplicate file definitions at backupninja::client::key
Silvio Rhatto [Thu, 27 Aug 2009 01:48:57 +0000 (22:48 -0300)]
Avoiding duplicate file definitions at backupninja::client::key

10 years agoSetting the right default value for backupkeytype
Silvio Rhatto [Thu, 27 Aug 2009 01:40:24 +0000 (22:40 -0300)]
Setting the right default value for backupkeytype

10 years agoAdding backupkeytype parameter at backupninja::rdiff
Silvio Rhatto [Thu, 27 Aug 2009 01:29:24 +0000 (22:29 -0300)]
Adding backupkeytype parameter at backupninja::rdiff

10 years agoFixing some definitions at backupninja::server::sandbox (2)
Silvio Rhatto [Thu, 27 Aug 2009 00:54:25 +0000 (21:54 -0300)]
Fixing some definitions at backupninja::server::sandbox (2)

10 years agoFixing some definitions at backupninja::server::sandbox
Silvio Rhatto [Thu, 27 Aug 2009 00:37:43 +0000 (21:37 -0300)]
Fixing some definitions at backupninja::server::sandbox

10 years agoOops
Silvio Rhatto [Thu, 27 Aug 2009 00:14:07 +0000 (21:14 -0300)]
Oops

10 years agoAdd rdiff::backup option to config dest user home folder
Silvio Rhatto [Thu, 27 Aug 2009 00:07:40 +0000 (21:07 -0300)]
Add rdiff::backup option to config dest user home folder

11 years agoMerge branch 'master' of git://labs.riseup.net/module_backupninja
Silvio Rhatto [Sun, 19 Jul 2009 21:09:53 +0000 (18:09 -0300)]
Merge branch 'master' of git://labs.riseup.net/module_backupninja

11 years agoChecking whether an exported resource is defined
Silvio Rhatto [Thu, 16 Jul 2009 21:23:05 +0000 (18:23 -0300)]
Checking whether an exported resource is defined

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.

11 years agoadd some details to the README about the package installation options
Micah Anderson [Wed, 15 Jul 2009 21:17:05 +0000 (17:17 -0400)]
add some details to the README about the package installation options

11 years agofix rdiff-backup class name, "You can use Aa-Zz, 0-9 and underscores in variables...
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

11 years agoremove redundant case statements which tested to see if the package ensure version...
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

11 years agocreate subclasses for maildir and rdiff-backup. If you are using these features of...
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.

11 years agoadding duplicity package as dependency for handler.
drebs [Mon, 13 Jul 2009 08:32:24 +0000 (05:32 -0300)]
adding duplicity package as dependency for handler.

11 years agofixing file extension from ".duplicity" to ".dup".
drebs [Mon, 13 Jul 2009 08:28:25 +0000 (05:28 -0300)]
fixing file extension from ".duplicity" to ".dup".

11 years agoadding key type for duplicity.
drebs [Mon, 13 Jul 2009 07:51:49 +0000 (04:51 -0300)]
adding key type for duplicity.

11 years agoadding support for keytypes in backupninja server.
drebs [Mon, 13 Jul 2009 07:46:23 +0000 (04:46 -0300)]
adding support for keytypes in backupninja server.