This commit is contained in:
Johan Björklund 2024-11-21 11:25:45 +01:00
parent 3da624da4e
commit 72d44e3cd8
Signed by untrusted user: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -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}",
}
}