summaryrefslogtreecommitdiff
path: root/manifests/relay.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-07 20:28:14 -0200
committerdrebs <drebs@riseup.net>2012-01-07 20:28:14 -0200
commitdcf291cac7c8fab10e7eaff7139013ad0c18ee42 (patch)
treed00611a85fe872329a264857948d98925bea729e /manifests/relay.pp
parent8868ef53819a0e2500a1a452e4bf55182ccea3cc (diff)
splitting difinitions in many files
Diffstat (limited to 'manifests/relay.pp')
-rw-r--r--manifests/relay.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/relay.pp b/manifests/relay.pp
new file mode 100644
index 0000000..2f474dc
--- /dev/null
+++ b/manifests/relay.pp
@@ -0,0 +1,18 @@
+class tor::relay inherits tor::daemon {
+ tor::daemon::config { "tor-relay-$name":
+ or_port => 9001,
+ or_listen_address => '',
+ nickname => '',
+ address => $hostname,
+ relay_bandwith_rate => 0,
+ relay_bandwith_burst => 0,
+ accounting_max => 0,
+ accounting_start => [],
+ contact_info => '',
+ dir_port => 0,
+ dir_listen_address => '',
+ dir_front_page => '',
+ my_family => '',
+ exit_policies => [],
+ }
+}