Commit e2ba9db5 authored by mh's avatar mh

place the dirmngr config in every gnupg homedir, because this is where gnupg looks for

parent 3f403d13
......@@ -16,6 +16,18 @@ define schleuder::list(
ensure => $ensure,
}
if $ensure == present {
if $schleuder::gpg_use_tor {
$parts = split($name,'@')
# every gnupg homedir needs this config
file{"/var/lib/schleuder/lists/${parts[1]}/${parts[0]}/dirmngr.conf":
source => '/var/lib/schleuder/.gnupg/dirmngr.conf',
owner => 'root',
group => 'root',
mode => '0600',
require => Schleuder_list[$name],
}
}
if "${admin_publickey}" =~ /^\// {
$real_admin_publickey = $admin_publickey
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment