aboutsummaryrefslogtreecommitdiff
path: root/manifests/yacy.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-08 11:30:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-08 11:30:38 -0300
commit6e3602e87555d469a60274081405f27ddf322289 (patch)
tree3c50f68909058d4252e0de3fba4ade6e79ad278c /manifests/yacy.pp
parentb4cc97bc47e997b7470645943ea6da199079a848 (diff)
downloadpuppet-nodo-6e3602e87555d469a60274081405f27ddf322289.tar.gz
puppet-nodo-6e3602e87555d469a60274081405f27ddf322289.tar.bz2
Adding hidden service definition for yacy
Diffstat (limited to 'manifests/yacy.pp')
-rw-r--r--manifests/yacy.pp6
1 files changed, 6 insertions, 0 deletions
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,
+ }
}