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