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

  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,
  }
}