From 72d44e3cd8e689dde1a4f02ec1da70f0e201a313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rklund?= Date: Thu, 21 Nov 2024 11:25:45 +0100 Subject: [PATCH] Typo. --- global/overlay/etc/puppet/modules/soc/manifests/intelmq.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}", } }