From 6e3602e87555d469a60274081405f27ddf322289 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 8 Jul 2012 11:30:38 -0300 Subject: Adding hidden service definition for yacy --- manifests/yacy.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/yacy.pp b/manifests/yacy.pp index e085531..96591c1 100644 --- a/manifests/yacy.pp +++ b/manifests/yacy.pp @@ -21,4 +21,10 @@ class nodo::yacy inherits nodo::vserver { ensure => running, require => Package['yacy'], } + + tor::daemon::hidden_service { 'yacy': + ports => "8090 127.0.0.1:8090", + data_dir => "$tor::daemon::data_dir/hidden", + ensure => present, + } } -- cgit v1.2.3