aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/yacy.pp16
1 files changed, 2 insertions, 14 deletions
diff --git a/manifests/yacy.pp b/manifests/yacy.pp
index e5b2f5e..3a302cf 100644
--- a/manifests/yacy.pp
+++ b/manifests/yacy.pp
@@ -1,17 +1,5 @@
class nodo::yacy inherits nodo::vserver {
- include tor::daemon
-
- # 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,
- }
- }
+ class { 'onion': }
package { 'yacy':
ensure => installed,
@@ -22,7 +10,7 @@ class nodo::yacy inherits nodo::vserver {
require => Package['yacy'],
}
- # gracefully restart yacy everyday
+ # Gracefully restart yacy everyday
cron { "yacy-restart":
command => "/etc/init.d/yacy restart > /dev/null 2>&1",
user => root,