From: drebs Date: Wed, 11 Jan 2012 04:20:33 +0000 (-0200) Subject: fixing data_dir X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bb29160f282eeecbc3aa883cab2c9c5c5b0e07c4;p=puppet-tor.git fixing data_dir --- diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 3f65e7d..358c441 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -68,8 +68,9 @@ class tor::daemon inherits tor { } # global configurations - define global_opts( $log_rules = [ 'notice file /var/log/tor/notices.log' ], - $ensure = present ) { + define global_opts( $data_dir = $data_dir, + $log_rules = [ 'notice file /var/log/tor/notices.log' ], + $ensure = present ) { file { "${spool_dir}/01.global": content => template('tor/torrc.global.erb'), require => File["${spool_dir}"],