]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
changing default options for relay
authordrebs <drebs@riseup.net>
Sun, 8 Jan 2012 00:23:02 +0000 (22:23 -0200)
committerdrebs <drebs@riseup.net>
Sun, 8 Jan 2012 00:23:02 +0000 (22:23 -0200)
manifests/relay.pp

index 2f474dc4a786353c1786d80b88ae68029570949d..fb2bf18aab95baaffa3c90fa695be936180a9af4 100644 (file)
@@ -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          => [],
                       }
+
 }