summaryrefslogtreecommitdiff
path: root/manifests/daemon/transparent.pp
blob: 6ac7b44c4eac28749709e29be500bd3b5c180767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Transparent proxy definition
define tor::daemon::transparent(
  $port             = 0,
  $listen_addresses = [],
  $ensure           = present ) {

  concat::fragment { "09.transparent.${name}":
    ensure  => $ensure,
    content => template('tor/torrc.transparent.erb'),
    order   => '09',
    target  => $tor::daemon::config_file,
  }
}