aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-07 22:23:02 -0200
committerdrebs <drebs@riseup.net>2012-01-07 22:23:02 -0200
commit9e6181174be9c98732517c897a04dc922d558e3c (patch)
treedf297ce499ace3c77a626ffff34e26435df16238 /manifests
parentdcf291cac7c8fab10e7eaff7139013ad0c18ee42 (diff)
downloadpuppet-tor-9e6181174be9c98732517c897a04dc922d558e3c.tar.gz
puppet-tor-9e6181174be9c98732517c897a04dc922d558e3c.tar.bz2
changing default options for relay
Diffstat (limited to 'manifests')
-rw-r--r--manifests/relay.pp32
1 files changed, 18 insertions, 14 deletions
diff --git a/manifests/relay.pp b/manifests/relay.pp
index 2f474dc..fb2bf18 100644
--- a/manifests/relay.pp
+++ b/manifests/relay.pp
@@ -1,18 +1,22 @@
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 => [],
+ socks_port => 0,
+ socks_listen_addresses => [],
+ 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 => [],
}
+
}