diff --git a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp index b5ce89f..c875ac1 100644 --- a/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp +++ b/global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp @@ -314,7 +314,7 @@ class soc::intelmq( group => 'intelmq', } exec { 'Import private gpg key': - command => "sudo -u intelmq /usr/bin/gpg -import /opt/intelmq/.gnupg/${privkey}.asc", + command => "sudo -u intelmq /usr/bin/gpg --import /opt/intelmq/.gnupg/${privkey}.asc", unless => "sudo -u intelmq /usr/bin/gpg -K 2>/dev/null | grep ${privkey}", } }