]> gitweb.fluxo.info Git - puppet-tor.git/commitdiff
Not managing the top level folder of a hidden service anymore: this can be done in...
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 18 Jun 2012 15:16:15 +0000 (12:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 18 Jun 2012 15:16:15 +0000 (12:16 -0300)
manifests/daemon.pp

index af0ecb9552966e40a4a08afcc47ab20f420e6df5..6d8c315b2993d2f61dfd3f803d166a6d1ef30876 100644 (file)
@@ -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'),