GPG fixes
This commit is contained in:
parent
e78a222e2b
commit
3da624da4e
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class soc::intelmq(
|
||||||
}
|
}
|
||||||
exec { 'Import private gpg key':
|
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 => "gpg -K ${privkey} 2>&1 > /dev/null",
|
unless => "sudo -u intelmq /usr/bin/gpg -K 2>/dev/null | grep ${privkey}",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue