aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-18 12:16:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-18 12:16:15 -0300
commit82e864d6ee95e5fdbe0db973217f575e09a36e8f (patch)
tree38af3a1f768f4b6501d0fb91d3f788ce92fb1a9a
parent91924a403e38234b3d0784815728710ff0df33a6 (diff)
downloadpuppet-tor-82e864d6ee95e5fdbe0db973217f575e09a36e8f.tar.gz
puppet-tor-82e864d6ee95e5fdbe0db973217f575e09a36e8f.tar.bz2
Not managing the top level folder of a hidden service anymore: this can be done in a custom module
-rw-r--r--manifests/daemon.pp9
1 files changed, 0 insertions, 9 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index af0ecb9..6d8c315 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -142,15 +142,6 @@ class tor::daemon inherits tor {
$data_dir = $tor::daemon::data_dir,
$ensure = present ) {
- if !defined(File["$data_dir/.."]) {
- file { "$data_dir/..":
- ensure => present,
- owner => 'debian-tor',
- group => 'debian-tor',
- mode => 0700,
- }
- }
-
concatenated_file_part { "05.hidden_service.${name}":
dir => $tor::daemon::snippet_dir,
content => template('tor/torrc.hidden_service.erb'),