From dbbb06d730fa08b814a54a5c8ec5524f884d2c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rklund?= Date: Mon, 18 Nov 2024 15:57:35 +0100 Subject: [PATCH] Install fixes. --- .../modules/soc/files/intelmq/install-intelmq.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/soc/files/intelmq/install-intelmq.sh b/global/overlay/etc/puppet/modules/soc/files/intelmq/install-intelmq.sh index 9906122..5402403 100644 --- a/global/overlay/etc/puppet/modules/soc/files/intelmq/install-intelmq.sh +++ b/global/overlay/etc/puppet/modules/soc/files/intelmq/install-intelmq.sh @@ -16,11 +16,22 @@ else fi PY_INTELMQ='intelmq intelmq-api intelmqmail intelmq-manager gunicorn certstream' -PY_CERTBUND_CONTACT='intelmq-certbund-contact intelmq-fody-backend' - pip3 install $PY_INTELMQ pip3 install $PY_CERTBUND_CONTACT + + +# Junk + +mkdir /opt/intelmq/src +cd /opt/intelmq/src +git clone https://github.com/Intevation/intelmq-certbund-contact.git +git clone https://github.com/Intevation/intelmq-fody-backend.git +( cd /opt/intelmq/src/intelmq-certbund-contact ; pip3 install . ; true ) +( cd /opt/intelmq/src/intelmq-fody-backend ; python3 setup.py install ; true ) +cd +rm -rf /opt/intelmq/src + # Due to Certbund contact overwrite files for some reason, reinstall intelmq pip3 install --force-reinstall intelmq