blob: 4677f24da973908a4cbb9930dfdd06b7ba831b44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# DNS definition
define tor::daemon::dns(
$port = 0,
$listen_addresses = [],
$ensure = present ) {
concat::fragment { "08.dns.${name}":
ensure => $ensure,
content => template('tor/torrc.dns.erb'),
owner => 'debian-tor',
group => 'debian-tor',
mode => '0644',
order => '08',
target => $tor::daemon::config_file,
}
}
|