summaryrefslogtreecommitdiff
path: root/manifests/git.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-17 21:54:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-17 21:54:46 -0300
commitf72f5062a3bae9c3c4ebb5841cb568743ace5948 (patch)
treeee7ca04dfe097b04927f9df0432b8ef59811a505 /manifests/git.pp
parent65b6814fe81591a0d3cdbd827c488c70809839de (diff)
downloadpuppet-onion-f72f5062a3bae9c3c4ebb5841cb568743ace5948.tar.gz
puppet-onion-f72f5062a3bae9c3c4ebb5841cb568743ace5948.tar.bz2
Adding onion::git
Diffstat (limited to 'manifests/git.pp')
-rw-r--r--manifests/git.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/git.pp b/manifests/git.pp
new file mode 100644
index 0000000..7d420fc
--- /dev/null
+++ b/manifests/git.pp
@@ -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,
+ }
+}