]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Make the relay address configurable.
authorintrigeri <intrigeri@boum.org>
Thu, 26 Jan 2012 17:59:17 +0000 (18:59 +0100)
committerintrigeri <intrigeri@boum.org>
Thu, 26 Jan 2012 17:59:17 +0000 (18:59 +0100)
manifests/daemon.pp

index 76f3c64a00052b9f5944ed46501c158fd4ddcbfc..463769078764ec2ad30421d57975259c26eba1a2 100644 (file)
@@ -104,10 +104,10 @@ class tor::daemon inherits tor {
                 $accounting_start      = [],
                 $contact_info          = '',
                 $my_family             = '', # TODO: autofill with other relays
+                $address               = "tor.${domain}",
                 $bridge_relay          = 0,
                 $ensure                = present ) {
     $nickname = $name
-    $address = "tor.${domain}"
 
     concatenated_file_part { '03.relay':
       dir     => $tor::daemon::snippet_dir,