GPG privkey fixes.
This commit is contained in:
parent
f26d12d3e5
commit
9b0df6b2d1
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ class soc::intelmq(
|
|||
exec { 'Import private gpg key':
|
||||
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}",
|
||||
require => File["/opt/intelmq/.gnupg/${privkey}.asc"].
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue