aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon/map_address.pp
blob: 270eac214ff1b9773fcfb7b8b4ef99889a0b0ecb (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,
  }
}