summaryrefslogtreecommitdiff
path: root/manifests/ssh.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:53 -0300
commite7db0ea316fb9bf2c7ae5792a447697a561d839d (patch)
tree0311a4a205e4908d29f5d1536903efdba0454fc3 /manifests/ssh.pp
downloadpuppet-onion-e7db0ea316fb9bf2c7ae5792a447697a561d839d.tar.gz
puppet-onion-e7db0ea316fb9bf2c7ae5792a447697a561d839d.tar.bz2
Initial import
Diffstat (limited to 'manifests/ssh.pp')
-rw-r--r--manifests/ssh.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/ssh.pp b/manifests/ssh.pp
new file mode 100644
index 0000000..b39e11f
--- /dev/null
+++ b/manifests/ssh.pp
@@ -0,0 +1,7 @@
+class onion::ssh {
+ tor::daemon::hidden_service { 'ssh':
+ ports => [ "22 127.0.0.1:22" ],
+ data_dir => "${tor::daemon::data_dir}/hidden",
+ ensure => present,
+ }
+}