Commit graph

298 commits

Author SHA1 Message Date
Micke Nordin 9b2490e415
puppet-lint --fix 2024-10-21 16:27:04 +02:00
Micke Nordin 58af85571b
Fix mode on log files 2024-10-21 16:27:03 +02:00
Micke Nordin 862f94b4eb
format 2024-10-21 16:26:59 +02:00
Micke Nordin 1ff784e5e4
Create parent dir 2024-10-21 16:26:58 +02:00
Magnus Andersson 3304d408a5
multinode-db1: Add script to list users by department domain in email. 2024-10-21 16:26:57 +02:00
Magnus Andersson 38447ceb37
multinode-db1 test: Add rclone and statistics remote 2024-10-21 16:26:56 +02:00
Micke Nordin e0f6d3bafa
Oops 2024-10-21 16:20:25 +02:00
Micke Nordin f531a60514
Fix mode on log files 2024-10-21 16:20:24 +02:00
Micke Nordin 158f982aed
Add audit log to other logs 2024-10-21 16:20:19 +02:00
Micke Nordin 45ac19bec8
Fix mode on log files 2024-10-21 16:16:29 +02:00
Micke Nordin e76c22f6d5
Add audit log to other logs 2024-10-21 16:16:25 +02:00
Micke Nordin b065ac7ae6
Set permissions on redis 2024-10-21 16:15:54 +02:00
Micke Nordin 019a3d9792
puppet-lint --fix 2024-10-21 16:15:53 +02:00
Micke Nordin 6224fe3e96
Fix mode on log files 2024-10-21 16:15:52 +02:00
Micke Nordin 8b0d90e4eb
Add audit log to other logs 2024-10-21 16:15:48 +02:00
Micke Nordin d7e7e260c2 puppet-lint --fix 2024-10-09 14:26:06 +02:00
Micke Nordin 52869ca089 Fix mode on log files 2024-10-09 14:26:06 +02:00
Micke Nordin 026c5c5d03 Add audit log to other logs 2024-10-09 14:26:06 +02:00
Micke Nordin 5c0e05394d Fix mode on log files 2024-10-09 14:24:09 +02:00
Micke Nordin 60d37feb61 format 2024-10-07 12:23:08 +02:00
Micke Nordin 301d451c3a Create parent dir 2024-10-07 12:23:08 +02:00
Magnus Andersson bbee5643d6 multinode-db1: Add script to list users by department domain in email. 2024-10-07 12:23:08 +02:00
Magnus Andersson 01b3c4cf56 multinode-db1 test: Add rclone and statistics remote 2024-10-07 12:23:08 +02:00
Micke Nordin f2c31c79cd Add mysql command to host 2024-10-04 10:27:40 +02:00
Micke Nordin b79eb5d4bf format 2024-10-04 10:27:40 +02:00
Magnus Andersson 606b14db17 multinode-db1: Add script to list users by department domain in email. 2024-10-04 10:27:40 +02:00
Magnus Andersson b4e496bf58 multinode-db1 test: Add rclone and statistics remote 2024-10-04 10:27:40 +02:00
Micke Nordin 141f9334f2 Add mysql command to host 2024-10-04 10:01:17 +02:00
Micke Nordin 07ddb2220a format 2024-10-04 10:01:17 +02:00
Magnus Andersson 652f2fbdf7 multinode-db1: Add script to list users by department domain in email. 2024-10-03 14:14:05 +02:00
Magnus Andersson 66a81768c8 multinode-db1 test: Add rclone and statistics remote 2024-10-03 14:14:05 +02:00
Magnus Andersson b66e072cf7
twofactor_enforced: Change manifest to work with fullnode 2024-10-01 11:50:56 +02:00
Magnus Andersson 766c337cb2
twofactor_enforced: Change manifest to work with fullnode 2024-10-01 11:25:25 +02:00
Magnus Andersson 2c216513d3 multinode-db1: Add script to list users by department domain in email. 2024-09-24 18:11:45 +02:00
Magnus Andersson 8ba567e385 multinode-db1 test: Add rclone and statistics remote 2024-09-24 18:11:45 +02:00
Micke Nordin f8dce117a8 Correct hostgroup name 2024-09-24 17:47:32 +02:00
Micke Nordin eeca6dfbe9 Correct hostgroup name 2024-09-24 17:46:50 +02:00
Micke Nordin 66bd2e9bab Move nrpe class from opsrepo 2024-09-24 17:33:20 +02:00
Magnus Andersson 473f702943 multinode-db1: Add script to list users by department domain in email. 2024-09-24 17:33:20 +02:00
Magnus Andersson d135f415d0 multinode-db1 test: Add rclone and statistics remote 2024-09-24 17:33:20 +02:00
Micke Nordin dbac473c26 Move nrpe class from opsrepo 2024-09-24 17:30:21 +02:00
Micke Nordin fc2079e2fa Add audit log to other logs 2024-09-24 16:46:56 +02:00
Magnus Andersson f339aa2865 multinode-db1: Add script to list users by department domain in email. 2024-09-24 16:46:56 +02:00
Magnus Andersson 705d3c8732 multinode-db1 test: Add rclone and statistics remote 2024-09-24 16:46:56 +02:00
Micke Nordin 1822ecd683 Add audit log to other logs 2024-09-24 15:36:43 +02:00
Micke Nordin b0ded4d0ef Move hee from cosmos-sites.pp 2024-09-23 17:07:21 +02:00
Micke Nordin 98a02615cc Install netcat on nodes and backup 2024-09-23 17:07:21 +02:00
Magnus Andersson d0260d7c05 multinode-db1: Add script to list users by department domain in email. 2024-09-23 17:07:21 +02:00
Magnus Andersson dd022213a6 multinode-db1 test: Add rclone and statistics remote 2024-09-23 17:07:21 +02:00
Micke Nordin e20e41edf8 Move hee from cosmos-sites.pp 2024-09-23 17:05:08 +02:00
Micke Nordin 59e137e918 Merge branch 'main' into testing 2024-09-18 12:38:39 +02:00
Micke Nordin d7c724570f Install netcat on nodes and backup 2024-09-18 12:38:17 +02:00
Micke Nordin ffc5170fc0 Create parent dir 2024-09-12 17:29:20 +02:00
Micke Nordin ea09557c1a Don't use incudes like this in newer puppet 2024-09-12 17:29:20 +02:00
Magnus Andersson 9364391ad5 multinode-db1: Add script to list users by department domain in email. 2024-09-12 17:29:20 +02:00
Magnus Andersson 6a5000a557 multinode-db1 test: Add rclone and statistics remote 2024-09-12 17:29:20 +02:00
Micke Nordin e4ccdde169 Create parent dir 2024-09-12 17:27:36 +02:00
Micke Nordin 589f62fc0a Create parent dir 2024-09-12 17:27:16 +02:00
Magnus Andersson 6827c0af7c
Dump customer datastructure for statistics logic to be transferred to script1. 2024-09-09 16:22:37 +02:00
Micke Nordin bff8d8ab22 Don't use incudes like this in newer puppet 2024-09-09 16:03:55 +02:00
Micke Nordin 2152b5b4a9 Don't use incudes like this in newer puppet 2024-09-09 16:03:30 +02:00
Magnus Andersson 75c3a77c6d
Gen users on department lists by a cronjob. 2024-09-03 14:33:46 +02:00
Magnus Andersson d8eaa122e3
Lookup statistics secret on multinode-db1 in env test. 2024-09-03 10:06:05 +02:00
Magnus Andersson 60cb53e631
multinode-db1: Add logic and template to create userlists by department. 2024-08-30 08:57:17 +02:00
Magnus Andersson c134f0771f
multinode-db1: Add script to list users by department domain in email. 2024-08-29 13:46:23 +02:00
Magnus Andersson 8acd0c40b8
multinode-db1 test: Add rclone and statistics remote 2024-08-29 11:02:30 +02:00
Magnus Andersson 04a3c96250
Multinode2: disable cronjob karin bucket. 2024-08-26 13:03:04 +02:00
Micke Nordin c8051b065a Merge branch 'main' of git+ssh://platform.sunet.se:22022/Drive/sunetdrive 2024-08-14 14:48:47 +02:00
Micke Nordin 41dd736b20 we have no naemon user 2024-08-14 14:48:33 +02:00
Micke Nordin 08be347419 Syntax error 2024-07-01 16:45:49 +02:00
Micke Nordin 9285c155db Alllow running scan jobs 2024-07-01 15:26:34 +02:00
Micke Nordin 4cf8cf3adb Add backup script for hb 2024-06-26 12:48:50 +02:00
Micke Nordin bac25d27c8 Fix bug in script 2024-06-26 09:58:18 +02:00
Micke Nordin b20c4c7397 Modify timeout for scriptherder 2024-06-25 10:15:41 +02:00
Micke Nordin 5c46f5bc38 Start work on extra_backup_jobs 2024-06-12 09:39:23 +02:00
Micke Nordin 717350780f Typo 2024-06-05 11:17:12 +02:00
Micke Nordin a4d0afe9fd Allow mail servers to connect 2024-05-24 13:30:37 +02:00
Micke Nordin b3d9873176 Switch to boolean 2024-05-21 17:47:42 +02:00
Magnus Andersson bf5abc073e
Change hostnet to bool 2024-05-21 17:29:59 +02:00
Micke Nordin cbf4086993 Goes together with switch to host networking 2024-05-21 12:54:06 +02:00
Micke Nordin c485935f30 Try ensure file 2024-05-20 11:46:58 +02:00
Micke Nordin 472977fde4 Update config for lookup server 2024-05-20 10:44:37 +02:00
Micke Nordin 47bf118116 Merge branch 'main' into mandersson-nmhost 2024-05-07 13:09:29 +02:00
Micke Nordin 27d0bc15cc Move config def up 2024-04-29 16:39:23 +02:00
Micke Nordin bd074c73d5 Fix syntax 2024-04-29 16:34:38 +02:00
Micke Nordin d33f80273d Fix syntax 2024-04-29 16:30:18 +02:00
Micke Nordin d13b22e3a2 Make it possible to configure s3 bucket 2024-04-29 16:25:22 +02:00
Magnus Andersson c774d67745
App and proxysql: Fixes for network_type: host 2024-04-24 21:32:25 +02:00
Magnus Andersson 8d2c481569
Frontend node: Use netork mode host with dockerhost2 2024-04-24 20:44:41 +02:00
Micke Nordin b4ce0046de Add jupyter site 2024-03-18 15:17:30 +01:00
Micke Nordin 10b0f30155 Add support for individual nextcloud versions for multinode 2024-03-04 10:57:42 +01:00
Micke Nordin 393f2c7034 Open port 80 for acme verification 2024-02-27 16:31:27 +01:00
Micke Nordin f511383a7a Add portal 2024-02-27 11:59:32 +01:00
Micke Nordin 585319b177
HKR ended contract with Sunet Drive 2024-01-08 09:17:40 +01:00
Magnus Andersson 2cdacfe0f5
Multinode: Add support for twofactor_enforced(_excluded)_groups 2023-11-30 11:05:02 +01:00
Micke Nordin f581835f7c For full node for now 2023-11-22 11:59:15 +01:00
Micke Nordin 6265472396 Make it possible to delete announcement with just subject 2023-11-22 11:52:58 +01:00
Micke Nordin b40beeb420 Install xmlstarlet 2023-11-22 11:04:20 +01:00
Micke Nordin f4eca0b747 Merge in changes from stable 2023-11-01 16:56:45 +01:00
Micke Nordin 9d5e53c0cc Merge branch 'stable' 2023-11-01 16:55:10 +01:00
Micke Nordin 7aa4a25dbd os.distro.id is the fact name 2023-11-01 16:35:55 +01:00
Micke Nordin ed65bb0d94 Use other command in debian 2023-11-01 16:31:24 +01:00
Micke Nordin df731fdb44 Force installation of drive-utils 2023-11-01 15:25:31 +01:00
Micke Nordin 9e4879d9c8 python3.9 -> python3 2023-11-01 15:20:23 +01:00
Micke Nordin eb0bb65f4a Allow smtp servers 2023-10-18 18:06:11 +02:00
Micke Nordin bdd858f76c Allow imap servers to connect 2023-10-18 09:46:14 +02:00
Magnus Andersson 81bb47819c Add fuse3 package to script serever.Dependecy to rclone mount. 2023-10-18 08:43:46 +02:00
Micke Nordin 7d755324f8 Typo 2023-10-17 17:07:25 +02:00
Micke Nordin 6220d691a3 Use collabora enterprise image 2023-10-17 17:03:43 +02:00
Magnus Andersson 6211f3aaea
Add fuse3 package to script serever.Dependecy to rclone mount. 2023-10-17 13:16:31 +02:00
Micke Nordin cdf16db309 Typo 2023-10-10 12:30:53 +02:00
Micke Nordin 88ee8c2b67 Use collabora enterprise image 2023-10-10 10:26:43 +02:00
Micke Nordin 7198109d56
Must have a cmd 2023-10-03 17:23:48 +02:00
Micke Nordin 8752500f4d
Redactore userbucket creation and opt out 2023-10-03 17:12:17 +02:00
Micke Nordin 0a09f73f12
SU and LNU opts out of userbuckets according to freitag and anders from customer meeting 2023-10-03 17:08:37 +02:00
Micke Nordin 37863c7a17
Use rclone for reva 2023-09-28 14:48:30 +02:00
Micke Nordin a21ea6fdd5
Allow connections from kubeservers to multinode db 2023-09-28 11:04:47 +02:00
Micke Nordin 0e5653aa0c
Fix 2023-09-26 14:59:34 +02:00
Micke Nordin 39137a4dfc
Typo 2023-09-26 14:26:07 +02:00
Micke Nordin f606d6c1b6
Update config 2023-09-26 14:15:59 +02:00
Micke Nordin b4b90799e6
Update reva version 2023-09-26 09:24:36 +02:00
Micke Nordin b989bd3d54
Hide deprecation warnings in Ubuntu 20.04 2023-09-08 07:39:34 +02:00
Micke Nordin 1b60d41dab
Get password 2023-09-02 12:38:34 +02:00
Micke Nordin ac6430df51
Add announce script to script servers 2023-09-02 12:08:17 +02:00
Micke Nordin f56a5c6eae Add get drive customers script to all servers 2023-08-16 12:53:08 +02:00
Micke Nordin 58fd21e0aa
Typo 2023-07-25 13:37:56 +02:00
Micke Nordin 3986e69349
See if we can get ipv6 for monitor 2023-07-25 13:35:31 +02:00
Micke Nordin 1cea9c9173
Remove replicate readwrite db 2023-07-18 15:59:47 +02:00
Micke Nordin 54de0adb0f
Remove replicate readwrite db 2023-07-18 15:52:33 +02:00
Micke Nordin 3281824eac
Fix gss_mode for multinode 2023-06-28 15:51:43 +02:00
Micke Nordin befc3207d9
Fix conficting bashrc declarations 2023-06-15 19:24:31 +02:00
Micke Nordin bc329be450
Add back safer_reboot 2023-06-15 12:00:47 +02:00
Micke Nordin 1e23d134f1
Add fqdn to PS1 2023-06-13 14:15:53 +02:00
Micke Nordin ff3a5c143c
Pass on vaiables 2023-06-13 12:16:55 +02:00
Micke Nordin b225e8d364
Update legacy fact name 2023-06-12 09:32:10 +02:00
Micke Nordin 0f8f27773b
Add support for replicating from multinode dbs 2023-06-12 09:31:41 +02:00
Micke Nordin 24b0b1eedc
Revert "Use nce image"
This reverts commit 20471ebaa8.
2023-06-01 11:47:16 +02:00
Micke Nordin 20471ebaa8
Use nce image 2023-06-01 11:44:50 +02:00
Micke Nordin 149ae70210
Add dns 2023-05-12 16:27:31 +02:00
Micke Nordin ef7c470244
If at first you don succeed... 2023-04-26 16:28:40 +02:00
Micke Nordin 5be9aedc56
Fix so cron job only runns in common 2023-04-26 16:25:29 +02:00
Micke Nordin 422ebd7ace
Fix backups of multinode in prod 2023-04-26 16:09:19 +02:00
Micke Nordin 8d5471d88e
Fix pip 2023-04-24 15:35:10 +02:00
Micke Nordin 31651be3be
Install yq everywhere 2023-04-24 14:51:51 +02:00
Micke Nordin 1ce82c89cc
Fix namespacing 2023-04-24 11:20:02 +02:00
Micke Nordin 824be30b44
Install yq 2023-04-24 11:04:39 +02:00
Micke Nordin bbf00f7f4a
More syntax 2023-04-24 10:53:37 +02:00
Micke Nordin 1632657f46
Fix syntax error 2023-04-24 10:50:47 +02:00
Micke Nordin 165415b725
Less dangerous pruning script 2023-04-24 10:47:36 +02:00
Micke Nordin 6dfe1496a4
Purge binlogs regularly 2023-03-24 16:26:56 +01:00