diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 16:33:33 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 16:33:33 -0200 |
commit | 3e6e7782436f9319d5323cafba1a4a9b17d5120e (patch) | |
tree | 05c45377e19e18a646ebe8cd0674b15b168b0912 /manifests/yacy.pp | |
parent | 16f29cb1d81136fa0a65730c2847327c3a828508 (diff) | |
download | puppet-nodo-3e6e7782436f9319d5323cafba1a4a9b17d5120e.tar.gz puppet-nodo-3e6e7782436f9319d5323cafba1a4a9b17d5120e.tar.bz2 |
More cleanup
Diffstat (limited to 'manifests/yacy.pp')
-rw-r--r-- | manifests/yacy.pp | 16 |
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, |