blob: 899f92091417a064b5fe4aa9ce7d4da56cd959d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# DNS definition
define tor::daemon::dns(
$ensure = 'present',
$port = 0,
){
if $ensure == 'present' {
concat::fragment { "08.dns.${name}":
content => template('tor/torrc.dns.erb'),
order => '08',
target => $tor::daemon::config_file,
}
}
}
|