aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon/socks.pp
blob: 910461c9af2ec738710911e7820c5275473efddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# socks definition
define tor::daemon::socks(
  $port = 0,
  $listen_addresses = [],
  $policies = [] ) {

  concat::fragment { '02.socks':
    content => template('tor/torrc.socks.erb'),
    owner   => 'debian-tor',
    group   => 'debian-tor',
    mode    => '0644',
    order   => 02,
    target  => $tor::daemon::config_file,
  }
}