blob: 731e93915312db218bc6a0d7c5a135c5352b0898 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import "polipo.pp"
import "daemon.pp"
class tor {
if !$tor_ensure_version { $tor_ensure_version = 'installed' }
package { [ "tor", "tor-geoip", "torsocks" ]:
ensure => $tor_ensure_version,
}
service { 'tor':
ensure => running,
enable => true,
hasrestart => true,
hasstatus => true,
require => Package['tor'],
}
if $use_munin {
include tor::munin
}
}
|