diff --git a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp index dfc192e..1cd0be8 100644 --- a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp +++ b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp @@ -56,7 +56,7 @@ class soc::intelmq( } exec { 'Always active venv for IntelMQ': - command => 'echo ". venv/bin/activate >> /opt/intelmq/.profile', + command => 'echo ". venv/bin/activate" >> /opt/intelmq/.profile', unless => 'grep -q activate /opt/intelmq/.profile 2> /dev/null', }