blob: a854a16380e0d1d5763729c6c8971b7fc0fb14e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class site_tor {
tag 'leap_service'
$tor = hiera('tor')
$bandwidth_rate = $tor['bandwidth_rate']
$contact_email = hiera('contact_email')
class { 'tor::daemon': }
tor::daemon::relay { $::hostname:
port => 9001,
#listen_addresses => '',
contact_info => $contact_email,
bandwidth_rate => $bandwidth_rate,
}
tor::daemon::directory { $::hostname: port => 80 }
include site_shorewall::tor
}
|