aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/onion.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp
index 3ec1a7b..91527ad 100644
--- a/manifests/subsystems/onion.pp
+++ b/manifests/subsystems/onion.pp
@@ -4,13 +4,11 @@ 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":
- ensure => directory,
- owner => 'debian-tor',
- group => 'debian-tor',
- mode => 0700,
- }
+ file { "${tor::daemon::data_dir}/hidden":
+ ensure => directory,
+ owner => 'debian-tor',
+ group => 'debian-tor',
+ mode => 0700,
}
}