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