summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-18 13:36:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-18 13:36:54 -0300
commit07d78d43a8d16e79c84063ae5a18702a1ea4a0a9 (patch)
tree4d433ab87d46aa959aaf1a69849ae661a8959839
parent09c2e65d73b4edbfb49df2162de7f83d5c6c23e5 (diff)
downloadpuppet-apache-07d78d43a8d16e79c84063ae5a18702a1ea4a0a9.tar.gz
puppet-apache-07d78d43a8d16e79c84063ae5a18702a1ea4a0a9.tar.bz2
Hidden service file must be a directory
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8ad1279..744472c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -222,7 +222,7 @@ class apache {
# hidden service data with other tor files.
if !defined(File["$tor::daemon::data_dir/hidden"]) {
file { "$tor::daemon::data_dir/hidden":
- ensure => present,
+ ensure => directory,
owner => 'debian-tor',
group => 'debian-tor',
mode => 0700,