From 38a6014df3d797da97158e5b2803a2af168b43cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rklund?= Date: Mon, 18 Nov 2024 13:29:43 +0100 Subject: [PATCH] Fixes for intelmq-api. --- .../etc/puppet/modules/soc/manifests/intelmq.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp index eccc345..56c451a 100644 --- a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp +++ b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp @@ -142,6 +142,23 @@ class soc::intelmq( notify => [Class['sunet::systemd_reload'], Service['intelmq-api.socket'],], } + file { '/opt/intelmq/etc/runtime.yaml': + ensure => 'present', + replace => 'no', + owner => 'intelmq', + group => 'www-data', + mode => '0660', + } + + file { '/opt/intelmq/etc/runtime.yaml.bak': + ensure => 'present', + replace => 'no', + owner => 'www-data', + group => 'www-data', + mode => '0660', + content => '', + } + service { 'intelmq-api.service': ensure => running, name => 'intelmq-api.service',