Defined Type: tor::daemon::automap_hosts_on_resolve
- Defined in:
-
manifests/daemon/automap_hosts_on_resolve.pp
Summary
Extend basic Tor configuration with a snippet based configuration.
Automap Hosts on Resolve module.
Overview
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/daemon/automap_hosts_on_resolve.pp', line 11
define tor::daemon::automap_hosts_on_resolve(
Enum['present','absent'] $ensure = 'present',
Boolean $automap_hosts_on_resolve = true,
){
if $ensure == 'present' {
concat::fragment { "13.automaphostsonresolve.${name}":
content => epp('tor/torrc/13_automaphostsonresolve.epp', {
'automap_hosts_on_resolve' => $automap_hosts_on_resolve,
}),
order => '13',
target => $tor::config_file,
}
}
}
|