blob: f459ece7fb0463508cf163ff017c05423791ef09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# exit policies
define tor::daemon::exit_policy(
$accept = [],
$reject = [],
$reject_private = 1,
$ensure = present ) {
concat::fragment { "07.exit_policy.${name}":
ensure => $ensure,
content => template('tor/torrc.exit_policy.erb'),
owner => 'debian-tor',
group => 'debian-tor',
mode => '0644',
order => 07,
target => $tor::daemon::config_file,
}
}
|