aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 16:33:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 16:33:33 -0200
commit3e6e7782436f9319d5323cafba1a4a9b17d5120e (patch)
tree05c45377e19e18a646ebe8cd0674b15b168b0912
parent16f29cb1d81136fa0a65730c2847327c3a828508 (diff)
downloadpuppet-nodo-3e6e7782436f9319d5323cafba1a4a9b17d5120e.tar.gz
puppet-nodo-3e6e7782436f9319d5323cafba1a4a9b17d5120e.tar.bz2
More cleanup
-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,