Skip to content
Snippets Groups Projects
Commit e09b2b59 authored by m h's avatar m h
Browse files

either use a custom gpg keyserver or if gpg the hidden one

parent a91afe58
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ class schleuder( ...@@ -25,6 +25,7 @@ class schleuder(
$web_api_key = undef, $web_api_key = undef,
$export_web_api_key = false, $export_web_api_key = false,
$gpg_use_tor = false, $gpg_use_tor = false,
$gpg_keyserver = undef,
) { ) {
case $facts['operatingsystem'] { case $facts['operatingsystem'] {
'CentOS': { include ::schleuder::centos } 'CentOS': { include ::schleuder::centos }
......
...@@ -17,7 +17,14 @@ log_level: warn ...@@ -17,7 +17,14 @@ log_level: warn
# If you have gnupg 2.1 and TOR running locally, use a onion-keyserver: # If you have gnupg 2.1 and TOR running locally, use a onion-keyserver:
#keyserver: hkp://jirk5u4osbsr34t5.onion #keyserver: hkp://jirk5u4osbsr34t5.onion
# The default works for all supported versions of gnupg: # The default works for all supported versions of gnupg:
keyserver: pool.sks-keyservers.net #keyserver: pool.sks-keyservers.net
keyserver: <%= if scope['schleuder::gpg_keyserver']
scope['schleuder::gpg_keyserver']
elsif scope['schleuder::gpg_use_tor']
'hkp://jirk5u4osbsr34t5.onion'
else
'pool.sks-keyservers.net'
end %>
# who receives global schleuder notifications # who receives global schleuder notifications
superadmin: <%= scope['schleuder::superadmin'] %> superadmin: <%= scope['schleuder::superadmin'] %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment