blob: 2522b2cc5a17c5786ed00df40051be2872287bd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# manage a snippet based tor installation
class tor::daemon (
$ensure_version = 'installed',
$use_munin = false,
$data_dir = '/var/lib/tor',
$config_file = '/etc/tor/torrc',
$use_bridges = 0,
$automap_hosts_on_resolve = 0,
$log_rules = [ 'notice file /var/log/tor/notices.log' ],
$safe_logging = 1,
) {
class{'tor':
ensure_version => $ensure_version,
}
include tor::daemon::base
if $use_munin {
include tor::munin
}
}
|