summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/manifests/hidden_service.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2017-10-24 09:52:41 -0400
committerMicah Anderson <micah@riseup.net>2017-10-24 09:52:41 -0400
commitd25d23daf5e2185503ba6578523bc072ffe56b84 (patch)
treeb65ecff455b4a3fd93dc072e9819206734106515 /puppet/modules/site_static/manifests/hidden_service.pp
parenta96fefa7cf9f9583adf5c152c19f53c8bdeca167 (diff)
parent3478b7b46087971f4396de3ea370741694963ca9 (diff)
Merge remote-tracking branch 'my0xacab/feat/v3_hs'
Diffstat (limited to 'puppet/modules/site_static/manifests/hidden_service.pp')
-rw-r--r--puppet/modules/site_static/manifests/hidden_service.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/site_static/manifests/hidden_service.pp b/puppet/modules/site_static/manifests/hidden_service.pp
index f23727f7..c5d12c34 100644
--- a/puppet/modules/site_static/manifests/hidden_service.pp
+++ b/puppet/modules/site_static/manifests/hidden_service.pp
@@ -1,11 +1,12 @@
# create hidden service for static sites
-class site_static::hidden_service ( $single_hop = false ) {
+class site_static::hidden_service ( $single_hop = false, $v3 = false ) {
Class['site_tor::hidden_service'] -> Class['site_static::hidden_service']
include site_tor::hidden_service
tor::daemon::hidden_service { 'static':
ports => [ '80 127.0.0.1:80'],
- single_hop => $single_hop
+ single_hop => $single_hop,
+ v3 => $v3
}
file {