summaryrefslogtreecommitdiff
path: root/manifests/daemon/transport_plugin.pp
blob: 4f7bbf23edf5e6a6cacbd243263687cf16dc1764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# transport plugin
define tor::daemon::transport_plugin(
  $ensure                     = 'present',
  $servertransport_plugin     = '',
  $servertransport_listenaddr = '',
  $servertransport_options    = '',
  $ext_port                   = '',
) {
  if $ensure == 'present' {
    concat::fragment { '11.transport_plugin':
      content => template('tor/torrc.transport_plugin.erb'),
      order   => 11,
      target  => $tor::daemon::config_file,
    }
  }
}