summaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-11 03:10:10 -0200
committerdrebs <drebs@riseup.net>2012-01-11 03:10:10 -0200
commit6f28887e3cd792b8d06b167728f95408bb1be03c (patch)
tree53374975cc20a975646a3e58cca17520d0d9c5b2 /manifests/daemon.pp
parent908310cc3edb290ecd94332f57e09f90317bc0fc (diff)
fixing parameter path
Diffstat (limited to 'manifests/daemon.pp')
-rw-r--r--manifests/daemon.pp3
1 files changed, 2 insertions, 1 deletions
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'),