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

54 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
Fabian Neumann
4820ededfa
Fix: monthday in cronjob cannot be 0
At least according to `man 5 cronjob` (and also Wikipedia ;) the day of month can only be 1-31. When the script created a cron.d file with a 0 at that position the script would not run at all.
2018-04-11 09:21:37 +02:00
Norbert Varzariu
a774e8b360 create /etc/tmpfiles.d dir on OS without systemd 2017-04-24 20:43:49 +02:00
Norbert Varzariu
e1f5fa7ebe add tmpfiles.d config - issue#12 2017-04-24 19:25:16 +02:00
Rune Juhl Jacobsen
d2cf15621b Add option to avoid managing cron 2017-04-06 09:20:32 +02:00
Rune Juhl Jacobsen
450474165f Fix undefined variables 2017-04-06 09:19:17 +02:00
Administrator
a67dd7ea29 fix order of params 2017-04-02 10:40:07 +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
7dd4b98f1a fixed typo 2017-03-14 23:52:08 +01:00
André Bauer
5c35e8378b some fixes 2017-03-14 23:51:18 +01:00
André Bauer
9f0fdf0547 removed superfluous line 2017-02-27 12:00:54 +01:00
André Bauer
90ee92acb8 fix crontabs with dots on debian & added rsnapshot_prefix var 2017-02-27 11:58:18 +01:00
André Bauer
d7436ed582 added check_mk mk-job support 2017-02-27 09:49:59 +01:00
Norbert Varzariu
b3ab06b63c add postgres to psql.ignore_dbs 2016-01-25 09:40:05 +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
638ec858b0 Merge branch 'develop'
- restart cron service after config generation
2016-01-22 09:32:02 +01:00
Norbert Varzariu
d71239645f restart cron service after config change 2016-01-22 09:31:51 +01:00
Norbert Varzariu
81ef65edca quick fix trailing slash in params.pp snapshot_root 2016-01-22 09:17:15 +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
09b6b4431c add basic tests 2016-01-18 20:53:24 +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
4879f6822f add check for puppet 4 2015-12-21 16:34:29 +01:00
Norbert Varzariu
b06a4732b5 remove unnecessary file 2015-12-21 15:55:09 +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
2ec0de8598 add saner defaults to params (needs revision) 2015-12-20 18:28:29 +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