diff options
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_tor/manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_tor/manifests/init.pp b/puppet/modules/site_tor/manifests/init.pp index 356053c1..5e209ba8 100644 --- a/puppet/modules/site_tor/manifests/init.pp +++ b/puppet/modules/site_tor/manifests/init.pp @@ -1,6 +1,14 @@ # generic configuration needed for tor class site_tor { + # Ensure the tor version is the latest from backports + # see https://0xacab.org/leap/platform/issues/8783 + apt::preferences_snippet { 'tor': + package => 'tor', + release => "${::lsbdistcodename}-backports", + priority => 999, + before => Class['tor::daemon'] } + class { 'tor::daemon': ensure_version => latest } } |