summaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
diff options
context:
space:
mode:
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'),