]> gitweb.fluxo.info Git - puppet-onion.git/commitdiff
Adding onion::git
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Apr 2014 00:54:46 +0000 (21:54 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Apr 2014 00:54:46 +0000 (21:54 -0300)
manifests/git.pp [new file with mode: 0644]

diff --git a/manifests/git.pp b/manifests/git.pp
new file mode 100644 (file)
index 0000000..7d420fc
--- /dev/null
@@ -0,0 +1,7 @@
+class onion::git {
+  tor::daemon::hidden_service { 'git':
+    ports    => [ "9418 127.0.0.1:9418" ],
+    data_dir => "${tor::daemon::data_dir}/hidden",
+    ensure   => present,
+  }
+}