summaryrefslogtreecommitdiff
path: root/manifests/daemon/map_address.pp
blob: ca21ed9bc239728400cf19e104c8f7edee59065d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# map address definition
define tor::daemon::map_address(
  $ensure     = 'present',
  $address    = '',
  $newaddress = '',
) {
  if $ensure == 'present' {
    concat::fragment { "08.map_address.${name}":
      content => template('tor/torrc.map_address.erb'),
      order   => '08',
      target  => $tor::daemon::config_file,
    }
  }
}