Commit graph

1035 commits

Author SHA1 Message Date
Victor LABORIE 78d57cf66f redmine: set loglevel to warn 2017-10-30 11:46:35 +01:00
Victor LABORIE bcda3b013e kvm-host: move add-vm.sh script into another GIT repository 2017-10-26 17:19:04 +02:00
Victor LABORIE bdc3ec7fd8 kvm-host: make an evomaintenance with add-vm.sh 2017-10-26 16:45:35 +02:00
Victor LABORIE 1075abed23 kvm-host: fix memory allocation in add-vm.sh (again) 2017-10-26 16:44:31 +02:00
Victor LABORIE 4a626df981 kvm-host: fix memory allocation in add-vm.sh 2017-10-26 16:29:57 +02:00
Victor LABORIE 7cf08cec1a kvm-host: fix shared-secret generation 2017-10-26 15:57:12 +02:00
Victor LABORIE 6a110768b4 kvm-host: add script add-vm.sh 2017-10-26 15:50:34 +02:00
Ludovic Poujol 3532cb3f2d evolinux-base: harware tasks. Add http://hwraid.le-vert.net/debian repo
on stretch for megacli packages
2017-10-26 15:07:28 +02:00
Jérémy Lecour 2aa26e2d68 copy vhosts-domains script 2017-10-24 17:39:49 +02:00
Jérémy Lecour 608b0a5bbc evoacme: fix hooks tasks 2017-10-24 17:39:32 +02:00
Jérémy Lecour 330d500de6 evoacme: fix hooks execution
Disable regex for grep with "-F"
2017-10-24 17:38:59 +02:00
Jérémy Lecour 56e5cfc06d evoacme: directories must be owned by "acme" 2017-10-24 17:38:05 +02:00
Jérémy Lecour 131eac4499 Fix: return if file is not readable 2017-10-24 17:37:46 +02:00
Jérémy Lecour 0e5396faa7 change from CRON to QUIET 2017-10-24 17:37:15 +02:00
Ludovic Poujol e7987d9b99 postgresql: Add missing package, libdbd-pg-perl needed by munin-plugins 2017-10-20 11:15:19 +02:00
Victor LABORIE 3d3d4affe1 redmine: use default target instead of multi-user for puma service 2017-10-20 10:54:35 +02:00
Jérémy Lecour 172b21b613 mysql: add more Munin plugins 2017-10-20 10:25:34 +02:00
Jérémy Lecour 8567160596 evoacme: don't execute hooks with dots in file name 2017-10-20 10:15:12 +02:00
Jérémy Lecour 0ed1ca1356 evoacme: install hooks 2017-10-20 10:14:46 +02:00
Jérémy Lecour 1b50dfb0b3 evoacme: inline hooks calls + export variables 2017-10-19 23:23:51 +02:00
Jérémy Lecour 3d3e45faef evoacme: use local variable 2017-10-19 23:18:11 +02:00
Jérémy Lecour 4d6853f844 evoacme: use hooks after certificate creation 2017-10-19 22:21:18 +02:00
Jérémy Lecour 1fa4ccc338 make-csr: create important directories 2017-10-19 11:08:35 +02:00
Jérémy Lecour d2f86f7950 evoacme: check for arguments first 2017-10-19 11:08:16 +02:00
Jérémy Lecour 37cd22a466 evoacme: remove useless variables 2017-10-19 11:08:01 +02:00
Jérémy Lecour 266ac7fc07 evoacme: create important directories 2017-10-19 11:07:45 +02:00
Jérémy Lecour e47371f347 Use bash, for proper readonly/local support
"readonly" is a safety bonus, but "local" is really important
not to overwrite variables from functions.
2017-10-19 11:05:54 +02:00
Jérémy Lecour 4d3ed7ed97 evoacme: remove a debug statement 2017-10-19 07:59:55 +02:00
Gregory Colpart 34365a145c Typo: rename script 2017-10-19 01:39:08 +02:00
Jérémy Lecour 95e16287c8 Extract hook scripts for Apache and Nginx 2017-10-18 22:48:22 +02:00
Victor LABORIE 97e4abb37c fail2ban: add wordpress filters 2017-10-18 15:44:20 +02:00
Victor LABORIE 938aaa4ec1 wordpress: install wp-fail2ban plugin by default 2017-10-18 14:24:44 +02:00
Jérémy Lecour d8960e2afa simplify CSR generation 2017-10-18 00:44:04 +02:00
Jérémy Lecour cd8ea40336 readability and whitespaces 2017-10-18 00:43:33 +02:00
Jérémy Lecour 232648a9b0 readlink -> realpath
better portability on BSD systems
2017-10-18 00:42:15 +02:00
Jérémy Lecour 21f698b62c chmod 700 /etc/evolinux 2017-10-17 18:08:18 +02:00
Jérémy Lecour b7cede7654 Don't add the trap if it is present or commented 2017-10-17 18:07:51 +02:00
Jérémy Lecour beff333a1a Evoacme: big refactoring
* debug messages are sent to stdout
* domains discovery from vhosts is extracted to "vhost-domains"
* fixes suggested by shellcheck
* variables are "local" or "readonly" wherever possible
2017-10-17 14:46:37 +02:00
Victor LABORIE c5844fa193 wordpress: fix summary mail 2017-10-17 11:18:02 +02:00
Victor LABORIE 8f9151c66e wordpress: don't use special caracter in admin password 2017-10-17 11:01:53 +02:00
Victor LABORIE 35f1ec91d8 wordpress: configure site before update it 2017-10-17 11:01:53 +02:00
Jérémy Lecour 71cd04029c Insert "Match User" if missing (Jessie only) 2017-10-17 10:28:49 +02:00
Jérémy Lecour b4e4b14fc6 Invert SSH Match User directives 2017-10-17 10:28:48 +02:00
Victor LABORIE 104a5c962e wordpress: refactoring into role 2017-10-17 10:24:19 +02:00
Victor LABORIE 3b4bf6d13a php: fix right on custom conf files 2017-10-16 17:46:55 +02:00
Jérémy Lecour 1941f9a3f9 evoacme: improve webserver config logic 2017-10-13 17:14:03 +02:00
Jérémy Lecour 2066a79f2e evoacme: exit after certbot in dry-run mode 2017-10-13 17:13:14 +02:00
Jérémy Lecour 350abe5787 evoacme: invert test logic 2017-10-13 14:05:05 +02:00
Jérémy Lecour baa5eae784 evoacme: add many tests 2017-10-13 12:46:40 +02:00
Jérémy Lecour 1c5e5e965b evoacme: fix typo 2017-10-13 12:32:16 +02:00