Commit 29c986cd authored by mh's avatar mh

make it possible to configure tor for dirmngr

parent 9ee895f4
......@@ -86,4 +86,22 @@ class schleuder::base {
order => '050';
}
}
if $schleuder::gpg_use_tor {
include tor::daemon
file{
'/var/lib/schleuder/.gnupg':
ensure => directory,
owner => 'schleuder',
group => 'schleuder',
mode => '0600',
require => Package['package'];
'/var/lib/schleuder/.gnupg/dirmngr.conf':
content => template('schleuder/dirmngr.conf.erb'),
owner => 'schleuder',
group => 'schleuder',
mode => '0600',
require => Service['tor'],
}
}
}
......@@ -24,6 +24,7 @@ class schleuder(
$lists = {},
$web_api_key = undef,
$export_web_api_key = false,
$gpg_use_tor = false,
) {
case $operatingsystem {
'CentOS': { include schleuder::centos }
......
use-tor
keyserver hkp://jirk5u4osbsr34t5.onion
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