aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-18 12:15:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-18 12:15:27 -0300
commita2d57d2bb29479784cde478bdb8955519b566cef (patch)
treef1a14690f8d8664e51c76d632b0b1bcf00bc798d
parent9f38e5bca3d9c5a1b689853841a802842566828d (diff)
downloadpuppet-nodo-a2d57d2bb29479784cde478bdb8955519b566cef.tar.gz
puppet-nodo-a2d57d2bb29479784cde478bdb8955519b566cef.tar.bz2
Managing /var/lib/tor/hidden at nodo::tor
-rw-r--r--manifests/tor.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/tor.pp b/manifests/tor.pp
index 11ba480..007a0ed 100644
--- a/manifests/tor.pp
+++ b/manifests/tor.pp
@@ -1,4 +1,11 @@
class nodo::tor inherits nodo::vserver {
include tor::daemon
include utils::tor
+
+ file { '/var/lib/tor/hidden':
+ ensure => present,
+ owner => 'debian-tor',
+ group => 'debian-tor',
+ mode => 0700,
+ }
}