Commit graph

2049 commits

Author SHA1 Message Date
Ludovic Poujol dc1c78e08a evolinux-base: Fix our zsyslog rotate config that doesn't work on Debian 10
I've noticed that some log files, especially /var/log/syslog were empty.
After investigating, I've realized that it was happening after a log
rotation by logrotate.

The old mechanism, `invoke-rc.d rsyslog rotate` isn't working anymore on
Debian 10. It will fail with a not so explicit message :

[FAIL] Closing open files: rsyslogd failed!

Long story short, it seems that the pid file (`/run/rsyslogd.pid`) isn't
created any more, so start-stop-daemon as used by /etc/init.d/rsyslog
will fail. Explaining the error message.

Debian 10 rsyslog now brings `/usr/lib/rsyslog/rsyslog-rotate` that is
used by logrotate. It will send the signal HUP the 'right' way, so
rsyslog will be aware of the log rotation.

Sadly, this script isn't present in Debian 9 nor 8, so the logrotate
configuration for rsyslog is now a template, using the right command for
the right version.
2019-11-22 16:48:19 +01:00
Jérémy Lecour 473bcb4cd6 apt: verify that /etc/evolinux is present 2019-11-20 11:34:47 +01:00
Eric Morino e20d95786a Change config file name conf.d/evolinux.conf by conf.d/zz-evolinux.conf 2019-11-18 09:31:24 +01:00
Eric Morino d10441fb0b Replace ptop by pgtop for buster 2019-11-14 16:10:23 +01:00
Eric Morino 9d5a272472 Add set and reconfigure locales for postgresql 2019-11-14 15:56:41 +01:00
Eric Morino c15f8963e4 Add compatibility for debian 9 and debian 10 in HW tool and megacli package 2019-11-14 14:29:04 +01:00
Eric Morino eb81c69327 Add modification for buster and postgresql 11 requirements 2019-11-14 11:39:02 +01:00
Jérémy Lecour 26dd244ae0 nagios-nrpe: update check_redis_instances 2019-11-13 09:47:23 +01:00
Ludovic Poujol 174bfa5ba0 Fix a syntax error in a task name (a missplaced double quote) 2019-11-12 17:59:36 +01:00
Eric Morino dc162ec67f Add check_mysql_health 2019-11-08 13:47:34 +01:00
Jérémy Lecour 7f6ad406a5 evocheck: upstream version 19.11.2 2019-11-07 10:38:32 +01:00
Jérémy Lecour 767760cbe0 evocheck: upstream version 19.11.1 2019-11-06 07:50:45 +01:00
Jérémy Lecour 049d36ab8f etc-git: add versioning for /usr/share/scripts on Debian 10+
The repository.yml task file is generic and can be called for vrious 
repositories.
On Debian 10, /usr/share/scripts is versioned
2019-11-05 17:00:22 +01:00
Jérémy Lecour 6b77372f24 evocheck: upstream version 19.11 2019-11-05 16:20:07 +01:00
Jérémy Lecour a55e29186f evomaintenance: upstream version 0.6.0 2019-11-05 14:52:59 +01:00
Jérémy Lecour ab8c6b13b8 evoacme: upstream version 19.11 2019-11-05 14:08:02 +01:00
Jérémy Lecour 7e50a460a8 minifirewall: add a variable to force the check scripts update 2019-11-05 10:52:14 +01:00
Jérémy Lecour 1c0e3af490 squid: add "checkmode: no" on a read-only task 2019-11-05 10:51:09 +01:00
Jérémy Lecour 5476538eb1 minifirewall: no http filtering by default 2019-10-30 14:37:22 +01:00
Jérémy Lecour f2dacac139 evolinux-base: add /usr/share/scripts in root's PATH (Debian 10+) 2019-10-30 14:32:32 +01:00
Jérémy Lecour 8679da4cb6 evolinux-base: install /sbin/deny 2019-10-30 14:32:32 +01:00
Jérémy Lecour 78ea4a61e1 typo 2019-10-30 14:32:32 +01:00
Jérémy Lecour 772c333623 apt: remove jessie/buster sources from Gandi servers 2019-10-30 14:32:32 +01:00
Jérémy Dubois 08a98e0bd5 Added a new nagios-nrpe plugin: check_vrrpd 2019-10-29 14:40:43 +01:00
Jérémy Lecour cd9e17e8f6 certbot: reload the correct daemon 2019-10-25 18:21:23 +02:00
Jérémy Lecour e80e4197c2 evocheck: upstream version 19.10 2019-10-25 13:17:16 +02:00
Jérémy Lecour d5a6487315 Merge branch 'mongodb-buster' into unstable 2019-10-24 17:23:53 +02:00
Jérémy Lecour 5eff84bc07 mongodb: fix systemd service 2019-10-24 16:43:24 +02:00
Jérémy Lecour 27adad616f squid: compatibility wit Debian 10 2019-10-24 16:23:48 +02:00
Jérémy Lecour a9b61161e0 fix typos 2019-10-24 15:55:40 +02:00
Jérémy Lecour 85b0e36f33 CHANGELOG: sort alphabetically 2019-10-24 15:37:58 +02:00
Jérémy Lecour 76864f226e WIP mongodb: compatibility with Debian 10 2019-10-24 15:36:51 +02:00
Gregory Colpart 7deee9b1e6 modifications variables 2019-10-24 15:12:55 +02:00
Jérémy Lecour ee72dd07ff rbenv: install Ruby 2.6.5 by default 2019-10-22 15:03:45 +02:00
Jérémy Lecour 2ea88dc385 mysql-oracle: backport tasks from mysql role 2019-10-21 16:32:59 +02:00
Jérémy Lecour 24edbd680a Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
Jérémy Lecour bc5e19c002 redis: reload redis when configuration is changed 2019-10-21 15:26:03 +02:00
Jérémy Lecour 16c44ab867 lxc : add name of container in task names 2019-10-21 15:26:03 +02:00
Jérémy Lecour 12cebfa71c lxc-php: refactor tasks for better maintainability 2019-10-21 15:26:03 +02:00
Ludovic Poujol 2d2889ac16 php: Don't set a chroot for the default fpm pool 2019-10-16 15:59:33 +02:00
Ludovic Poujol 0a7262081a php: add missing handler for php7.3-fpm 2019-10-16 15:17:35 +02:00
Jérémy Lecour beb39988e7 git ignore .swp files 2019-10-11 21:27:01 +02:00
Jérémy Lecour 7fe89d2419 haproxy: add another variable for configuration 2019-10-11 21:24:32 +02:00
Patrick Marchand 5178e99e7c typo in evobackup jail file task name 2019-10-10 15:40:00 -04:00
Jérémy Lecour edb5ace762 haproxy: add a variable to keep the existing configuration 2019-10-10 11:27:39 +02:00
Patrick Marchand 6118dda7c9 yaml lint and quoting standardisation for bind role 2019-10-09 12:15:55 -04:00
Patrick Marchand 2bbebded9e Migrated bind role to python booleans 2019-10-09 12:07:14 -04:00
Patrick Marchand c6804e73e7 Adapted the bind role to respect the evocheck warnings
The required munin plugins and the logging necessary for them to work is
now activated depending on the type of resolver and the logrotate file is
changed from bind to bind9.
2019-10-09 11:54:30 -04:00
Patrick Marchand 5a20292ec9 rename create_jail.yml to jail.yml in evobackup-client 2019-10-07 13:53:55 -04:00
Patrick Marchand d4742b411d Added evobackup sync when more than one host 2019-10-07 13:53:10 -04:00