diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 13:18:39 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 13:18:39 -0200 |
commit | ad27f5dac1870369abe10e88fbb034ffa391f12c (patch) | |
tree | 2ec4be14af75dbc7508d490ed552288973e3a006 /manifests/subsystems/onion.pp | |
parent | 9c64cff37985a26f7aac5474928403f2605c588f (diff) | |
download | puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.gz puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.bz2 |
Lots of subsystem refactoring; minor node changes
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 } |