diff options
Diffstat (limited to 'manifests/subsystems/onion.pp')
-rw-r--r-- | manifests/subsystems/onion.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp index ee4da16..2b03839 100644 --- a/manifests/subsystems/onion.pp +++ b/manifests/subsystems/onion.pp @@ -4,8 +4,8 @@ class onion { # It's important to use a subdir from the tor datadir # to ease backup/restore procedures as we don't mix # hidden service data with other tor files. - if !defined(File["$tor::daemon::data_dir/hidden"]) { - file { "$tor::daemon::data_dir/hidden": + if !defined(File["${tor::daemon::data_dir}/hidden"]) { + file { "${tor::daemon::data_dir}/hidden": ensure => directory, owner => 'debian-tor', group => 'debian-tor', @@ -37,7 +37,7 @@ class onion::freenode inherits onion::socks { class onion::full inherits onion::freenode { # Currently tor management just works for debian - case $operatingsystem { + case $::operatingsystem { debian: { include tor::polipo } |