summaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r--manifests/daemon.pp24
1 files changed, 12 insertions, 12 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 173e565..6d8c315 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -98,18 +98,18 @@ class tor::daemon inherits tor {
}
# relay definition
- define relay( $port = 0,
- $listen_addresses = [],
- $outbound_bindaddress = $listen_address,
- $bandwidth_rate = 0, # KB/s, 0 for no limit.
- $bandwidth_burst = 0, # KB/s, 0 for no limit.
- $accounting_max = 0, # GB, 0 for no limit.
- $accounting_start = [],
- $contact_info = '',
- $my_family = '', # TODO: autofill with other relays
- $address = "tor.${domain}",
- $bridge_relay = 0,
- $ensure = present ) {
+ define relay( $port = 0,
+ $listen_addresses = [],
+ $outbound_bindaddresses = $listen_addresses,
+ $bandwidth_rate = 0, # KB/s, 0 for no limit.
+ $bandwidth_burst = 0, # KB/s, 0 for no limit.
+ $accounting_max = 0, # GB, 0 for no limit.
+ $accounting_start = [],
+ $contact_info = '',
+ $my_family = '', # TODO: autofill with other relays
+ $address = "tor.${domain}",
+ $bridge_relay = 0,
+ $ensure = present ) {
$nickname = $name
concatenated_file_part { '03.relay':