aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-11 02:20:33 -0200
committerdrebs <drebs@riseup.net>2012-01-11 02:20:33 -0200
commitbb29160f282eeecbc3aa883cab2c9c5c5b0e07c4 (patch)
tree32976cd3371ba71536c2e49417af9342ab64404a
parenta8129c4ade93c0396136ba4f92573bd1db009996 (diff)
downloadpuppet-tor-bb29160f282eeecbc3aa883cab2c9c5c5b0e07c4.tar.gz
puppet-tor-bb29160f282eeecbc3aa883cab2c9c5c5b0e07c4.tar.bz2
fixing data_dir
-rw-r--r--manifests/daemon.pp5
1 files changed, 3 insertions, 2 deletions
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}"],