Env fixes.

This commit is contained in:
Johan Björklund 2024-11-18 13:45:45 +01:00
parent 09414e033a
commit cb88daafaa
Signed by untrusted user: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -55,6 +55,11 @@ class soc::intelmq(
creates => '/opt/intelmq/venv',
}
exec 'Always active venv for IntelMQ':
command => 'echo ". venv/bin/activate >> /opt/intelmq/.profile',
unless => 'grep -q activate /opt/intelmq/.profile 2> /dev/null',
}
file { '/opt/intelmq/install-intelmq.sh':
ensure => file,
content => file('soc/intelmq/install-intelmq.sh'),