summaryrefslogtreecommitdiff
path: root/manifests/daemon/map_address.pp
blob: cfbd3da124717b0d481f9a1cb4d04cb1fb556f83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# map address definition
define tor::daemon::map_address(
  $address    = '',
  $newaddress = '',
  $ensure     = 'present') {

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