summaryrefslogtreecommitdiff
path: root/manifests/daemon/bridge.pp
blob: 83d74e0788a50a744cdb7682e15a4076d0696680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Bridge definition
define tor::daemon::bridge(
  $ip,
  $port,
  $fingerprint = false,
  $ensure      = present ) {

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