]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
fixing parameter path
authordrebs <drebs@riseup.net>
Wed, 11 Jan 2012 05:10:10 +0000 (03:10 -0200)
committerdrebs <drebs@riseup.net>
Wed, 11 Jan 2012 05:10:10 +0000 (03:10 -0200)
manifests/daemon.pp

index 05ddf5b39085b89405d50228870f0c48c4195a3c..9349e0649f31d14e17277afc0bead7017bc84c7c 100644 (file)
@@ -73,7 +73,8 @@ class tor::daemon inherits tor {
   }
 
   # global configurations
-  define global_opts( $log_rules = [ 'notice file /var/log/tor/notices.log' ],
+  define global_opts( $data_dir = $tor::daemon::data_dir,
+                      $log_rules = [ 'notice file /var/log/tor/notices.log' ],
                       $ensure = present ) {
     file { "${tor::daemon::snippet_dir}/01.global":
       content => template('tor/torrc.global.erb'),