From 6f28887e3cd792b8d06b167728f95408bb1be03c Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 11 Jan 2012 03:10:10 -0200 Subject: fixing parameter path --- manifests/daemon.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 05ddf5b..9349e06 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -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'), -- cgit v1.2.3