diff options
author | Micah <micah@riseup.net> | 2017-11-01 16:27:50 +0000 |
---|---|---|
committer | Micah <micah@riseup.net> | 2017-11-01 16:27:50 +0000 |
commit | 1029f5382b4466b6d94726c358313674e8bdc030 (patch) | |
tree | 354c2718be37141dd62656b50182671a45980efc /manifests/daemon/transport_plugin.pp | |
parent | ba357b5222a6b00711f19481bb75c787e7edca89 (diff) | |
parent | 2785024a9b2bb49847d8cc77e0691b70cbb3fd5c (diff) |
Merge branch 'obfs4' into 'master'
Add support for Server Transport Plugins (like obsf4proxy)
See merge request shared-puppet-modules-group/tor!15
Diffstat (limited to 'manifests/daemon/transport_plugin.pp')
-rw-r--r-- | manifests/daemon/transport_plugin.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/daemon/transport_plugin.pp b/manifests/daemon/transport_plugin.pp new file mode 100644 index 0000000..7242e5e --- /dev/null +++ b/manifests/daemon/transport_plugin.pp @@ -0,0 +1,13 @@ +# transport plugin +define tor::daemon::transport_plugin( + $servertransport_plugin = '', + $servertransport_listenaddr = '', + $servertransport_options = '', + $ext_port = '' ) { + + concat::fragment { "11.transport_plugin": + content => template('tor/torrc.transport_plugin.erb'), + order => 11, + target => $tor::daemon::config_file, + } +} |