1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-09-20 01:10:35 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
olevole
4202b1ae94 add FreeBSD support
changes for FreeBSD are trivial and mainly relate to
an alternative path to configuration and executable files.
So, the standard way for 3rd-party config files in FreeBSD:
  /usr/local/etc{/rsnapshot}
and for binaries:
  /usr/local
Also, define @cmd_rsnapshot in cron.erb via config_cmd_rsnapshot
2018-10-14 06:52:39 +03:00
Rune Juhl Jacobsen
450474165f Fix undefined variables 2017-04-06 09:19:17 +02:00
Administrator
87775af5c7 add prefix feature 2017-04-02 09:14:46 +02:00
André Bauer
6e7d8e02f3 use prefix not by default 2017-04-01 23:27:18 +02:00
André Bauer
90ee92acb8 fix crontabs with dots on debian & added rsnapshot_prefix var 2017-02-27 11:58:18 +01:00
Norbert Varzariu
f67cd5a517 remove debug message 2016-01-22 15:58:18 +01:00
Norbert Varzariu
46a0a4faaf update README 2016-01-22 15:44:12 +01:00
Norbert Varzariu
86073f42b1 add custom commands to misc script 2016-01-22 15:01:32 +01:00
Norbert Varzariu
eb643443fd update README 2016-01-22 14:07:06 +01:00
Norbert Varzariu
8ba0042a94 parameterize backup scripts 2016-01-22 13:17:03 +01:00
Norbert Varzariu
d786e0088e fix merge issue 2016-01-22 09:12:32 +01:00
Norbert Varzariu
0235f202b4 rewrite cron file generation using deep_merge (why is this function undocumented?) 2016-01-22 09:08:12 +01:00
Norbert Varzariu
d4cd5282f7 quick fixes 2016-01-21 16:12:07 +01:00
Norbert Varzariu
ab9ec44ced ensure in-/exclude file is absent if no in-/excludes given 2016-01-20 11:41:59 +01:00
Norbert Varzariu
941036d986 testing 2016-01-20 10:38:27 +01:00
Norbert Varzariu
396d71cb8e testing 2016-01-20 10:27:29 +01:00
Norbert Varzariu
455ba13572 add backup script feature, a lot of fixes 2016-01-19 17:23:40 +01:00
Norbert Varzariu
5fe01d46e1 add routine to create mysql, psql and misc scripts 2016-01-19 16:01:54 +01:00
Norbert Varzariu
0b21f0e751 remove class inheritance in install.pp 2016-01-18 19:54:53 +01:00
Norbert Varzariu
25a282cf4f only create in-/exclude file if in-/excludes are given and bump version 2015-12-22 16:26:06 +01:00
Norbert Varzariu
a468d8b2ee fix issue where global cron override would not be used 2015-12-22 14:55:21 +01:00
Norbert Varzariu
4f41f41579 fix cron overrides (critical) 2015-12-22 00:20:58 +01:00
Norbert Varzariu
c55ec365cc fix random number generator so that minute, hour... actually have different random numbers, not the same 2015-12-21 19:11:26 +01:00
Norbert Varzariu
569f38f606 remove package files and minor cleanups 2015-12-21 18:39:21 +01:00
Norbert Varzariu
3c5794c13b fix dependencies (current state fails for puppet 3) 2015-12-21 15:16:58 +01:00
Norbert Varzariu
3e7834c2ac fix README.md 2015-12-21 14:50:17 +01:00
Norbert Varzariu
96aa89d4f6 create README.md 2015-12-21 13:33:29 +01:00
Norbert Varzariu
640e86a156 add epel as dependecy for CentOS 2015-12-21 11:43:50 +01:00
Norbert Varzariu
cafb00e201 allow to override default cron time ranges 2015-12-21 11:25:11 +01:00
Norbert Varzariu
bc86010c51 random time feature with ranges (random between 1am and 5 am: 1..5) 2015-12-20 18:23:37 +01:00
Norbert Varzariu
b2d6edad94 new function rand_from_array() returns a random element of an array 2015-12-20 12:25:42 +01:00
Norbert Varzariu
3d60cff446 minor changes 2015-12-19 22:57:56 +01:00
Norbert Varzariu
ac28d614de fail if backup_defaults is false and no backups specified for a host (user error) 2015-12-19 22:49:34 +01:00
Norbert Varzariu
53ead018cb some code cleanup for better readability 2015-12-19 21:39:36 +01:00
Norbert Varzariu
fa88ccb1cb add custom function to allow for empty hashes in params (specify hostname only to pickup defaults) 2015-12-19 21:13:55 +01:00
Norbert Varzariu
f7922a2e4a add backup_defaults feature 2015-12-19 18:32:24 +01:00
Norbert Varzariu
234c5935a6 working prototype (config generation) 2015-12-19 11:16:05 +01:00