aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/onion.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/subsystems/onion.pp b/manifests/subsystems/onion.pp
index 2b03839..3ec1a7b 100644
--- a/manifests/subsystems/onion.pp
+++ b/manifests/subsystems/onion.pp
@@ -34,7 +34,16 @@ class onion::freenode inherits onion::socks {
}
}
+class onion::ssh {
+ tor::daemon::hidden_service { 'ssh':
+ ports => [ "22 127.0.0.1:22" ],
+ data_dir => "${tor::daemon::data_dir}/hidden",
+ ensure => present,
+ }
+}
+
class onion::full inherits onion::freenode {
+ include onion::ssh
# Currently tor management just works for debian
case $::operatingsystem {