Compare commits

...

25 commits

Author SHA1 Message Date
Magnus Andersson 812a56cf99
check_replication: Add user to docker exec to be able to check rootless builds. 2024-11-04 10:58:52 +01:00
Micke Nordin d5e88dd431
Dummy edit 2024-10-24 12:29:31 +02:00
Micke Nordin f27a9c353c
Merge branch 'testing' 2024-10-24 12:19:26 +02:00
Micke Nordin 9a367b0955
Decoupling the admin_password from proxysql 2024-10-24 12:15:08 +02:00
Micke Nordin b8a16bd700
Fix ntp 2024-10-22 10:54:57 +02:00
Micke Nordin 39384f7e40
enable sysstat timer on debian 2024-10-22 10:30:59 +02:00
Micke Nordin a7fe6cecc7
Oops 2024-10-21 16:19:04 +02:00
Micke Nordin e3a66f95df
Set permissions on redis 2024-10-21 16:13:51 +02:00
Micke Nordin b096522c36 Merge branch 'testing' 2024-10-09 14:27:29 +02:00
Micke Nordin 7460019ec5 puppet-lint --fix 2024-10-09 14:25:34 +02:00
Micke Nordin 00d4c96d28 Fix mode on log files 2024-10-09 14:23:08 +02:00
Micke Nordin 2b590b3f01 Rollback fix 2024-10-07 12:19:25 +02:00
Micke Nordin b573820906 We want full compat 2024-10-04 10:04:43 +02:00
Micke Nordin 722a8bdb68 Add mysql command to host 2024-10-04 10:00:50 +02:00
Micke Nordin d832f2a274 format 2024-10-03 16:14:33 +02:00
Micke Nordin 07d54eba92 Add fix to init script from mandersson 2024-10-03 14:18:32 +02:00
Micke Nordin ac917b9811 Use all adresses 2024-10-02 17:37:35 +02:00
Magnus Andersson 24c2fcbdfc
twofactor_enforced: Make template work with nil values 2024-10-01 11:19:43 +02:00
Magnus Andersson b7e94c2259
twofactor_enforced: Change manifest to work with fullnode 2024-10-01 10:34:37 +02:00
Micke Nordin 15a752a65d Add uptime check taht warns if server has been up for too long 2024-09-24 22:31:01 +02:00
Micke Nordin b4b099b237 Node3 sunet-prod reinstalled 2024-09-24 18:10:38 +02:00
Micke Nordin 1a63b4884f Correct hostgroup name 2024-09-24 17:47:18 +02:00
Micke Nordin 7673aca60e Move nrpe class from opsrepo 2024-09-24 17:29:07 +02:00
Micke Nordin 74768985cc Add audit log to other logs 2024-09-24 15:36:06 +02:00
Micke Nordin 663021dc61 Move hee from cosmos-sites.pp 2024-09-23 17:03:40 +02:00
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
result="$(docker exec mariadb_backup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')"
result="$(docker exec -u root mariadb_backup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')"
if [[ "${result}" == "Slave_running ON" ]]; then
echo "OK: Replica running"
exit 0

View file

@ -15,6 +15,7 @@ services:
- <%= @nextcloud_log_path %>:/var/www/html/data/nextcloud.log
- <%= @audit_log_path %>:/var/www/html/data/audit.log
- <%= @rclone_conf_path %>:/rclone.conf
networks:
- default
- proxysql_proxysql